Bug 1565359
Summary: | nss-mdns-0.14.1 fails to resolve hostnames | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Bastian <jbastian> |
Component: | nss-mdns | Assignee: | Adam Goode <adam> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 27 | CC: | adam, jbastian, lpoetter |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-09 23:53:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Bastian
2018-04-09 22:02:44 UTC
Sorry about that. I updated the documentation to make it clearer how to fix this problem: https://github.com/lathiat/nss-mdns/blob/master/README.md#etcmdnsallow Please file a bug on github if the documentation is still not clear. Also, what is the output of your /etc/resolv.conf? Ah-hah! DNS SOA was the problem: ~]$ host -t SOA local local.tarantula.localdomain has SOA record ns1-etm.att.net. nomail.etm.att.net. 1 604800 3600 2419200 900 I created /etc/mdns.allow and changed nsswitch.conf to use the non-minimal version and it's working again: ~]$ rpm -q nss-mdns nss-mdns-0.14.1-1.fc27.x86_64 ~]$ cat /etc/mdns.allow .local. .local ~]$ grep ^hosts /etc/nsswitch.conf hosts: files mdns4 [NOTFOUND=return] dns myhostname ~]$ getent hosts mantis.local 192.168.2.2 mantis.local I have NetworkManager configured to run dnsmasq as a name cache, so my resolv.conf is minimal: ~]$ cat /etc/NetworkManager/conf.d/dns.conf [main] dns=dnsmasq ~]$ cat /etc/resolv.conf # Generated by NetworkManager search tarantula.localdomain nameserver 127.0.0.1 Thanks! |