Bug 1952919 - resloved nss module not giving answer to reverse DNS query
Summary: resloved nss module not giving answer to reverse DNS query
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-23 14:52 UTC by Dusty Mabe
Modified: 2021-05-12 18:56 UTC (History)
11 users (show)

Fixed In Version: systemd-248.2-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-11 02:08:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dusty Mabe 2021-04-23 14:52:24 UTC
Description of problem:

I'm not able to get the systemd-resolved NSS module to answer simple reverse DNS queries.

On F33:

```
[dustymabe@media ~]$ rpm -q systemd
systemd-246.10-1.fc33.x86_64
[dustymabe@media ~]$ getent -s hosts:resolve hosts 127.0.0.1
127.0.0.1       localhost localhost.localdomain localhost4 localhost4.localdomain4
```

on F34:

```
[root@fedora ~]# rpm -q systemd
systemd-248-2.fc34.x86_64
[root@fedora ~]# getent -s hosts:resolve hosts 127.0.0.1
[root@fedora ~]#
```

Comment 1 Zbigniew Jędrzejewski-Szmek 2021-05-07 11:14:22 UTC
This should be fixed by https://github.com/systemd/systemd/commit/315a28e2c7. Please test
with systemd-248.1 when it becomes available.

Comment 2 Dusty Mabe 2021-05-07 14:13:43 UTC
I get a 404 when clicking on that link.

Comment 3 Zbigniew Jędrzejewski-Szmek 2021-05-07 14:24:36 UTC
https://github.com/systemd/systemd-stable/commit/315a28e2c7

Comment 4 Fedora Update System 2021-05-08 09:17:16 UTC
FEDORA-2021-775e2373a1 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-775e2373a1

Comment 5 Fedora Update System 2021-05-09 02:19:59 UTC
FEDORA-2021-775e2373a1 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-775e2373a1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-775e2373a1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-05-11 02:08:09 UTC
FEDORA-2021-775e2373a1 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Zbigniew Jędrzejewski-Szmek 2021-05-12 15:10:30 UTC
I marked the update as fixing this, but if you could check, that'd be great.

Comment 8 Dusty Mabe 2021-05-12 18:56:36 UTC
Looks good to me:

```
[vagrant@vanilla-f34 ~]$ getent -s hosts:resolve hosts 127.0.0.1
127.0.0.1       vanilla-f34 localhost localhost.localdomain localhost4 localhost4.localdomain4
[vagrant@vanilla-f34 ~]$ 
[vagrant@vanilla-f34 ~]$ rpm -q systemd
systemd-248.2-1.fc34.x86_64
```


Note You need to log in before you can comment on or make changes to this bug.