Daily Archives: August 26, 2010

Ubuntu and (dot).local addresses – Avahi

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

Change this line
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
To:
hosts:          files dns mdns4_minimal mdns4