Fixing .local DNS lookups on Ubuntu machines

Dig works but ping/anything else doesn’t?

Edit /etc/nsswitch.conf, comment out the following line:

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

And replace with this instead:

hosts:          files dns

Leave a Reply

Your email address will not be published. Required fields are marked *