I have a Ubuntu server where there was a problem with .local address, i could’t look up the zone from the server.
After a little search i found that Avahi (Zeroconf) was the problem.
The default setup of Avahi, is to look for the zone in mDNS, if that failed the resolv failed.
So to fix this, edit /etc/nsswitch.conf
1 2 |
Change this line hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 |
1 2 |
To: hosts: files dns mdns4_minimal mdns4 |