Problem

You may have noticed that on Ubuntu, there is a problem resolving FQDN (Fully Qualified Domain Names) for your local DNS servers.

Solution

Simply edit the /etc/nsswitch.conf file and replace this line:

1
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

With:

1
hosts:          files dns mdns4

And just like magic, everything works! :-)

Last updated 17 Dec 2008, 23:26 +0200. history