Fighting DNS resolving in Ubuntu 12.04 (server)

Comments

4 comments posted
Finally!

Good god, I've been pulling out what little hair I have left because of this issue. Thanks for posting the quick fix. My server now successfully lookups up dns from my dd-wrt router (which uses dnsmasq for so-called static DHCP) instead of from itself. All is well in my network once more.

Posted by Christopher Broome (not verified) on Fri, 2012-06-01 05:35
Or get rid of resolvconf on servers

Yes, I had also these issues, and came up with the same solution.

But honestly, while it's nice to have resolvconf on desktops, or any other device which gets infos via DHCP, it's a pain for servers.

I really don't get it why we should have something like that on servers...

Posted by Stephan Adig (not verified) on Wed, 2012-05-16 14:46
I suppose because you could

I suppose because you could still have a server with dhcp, like any IAAS offering ( not sure if that's true, but that would be IMHO much simpler than using some template for creating the vm, just clone the disk, and boot with dhcp ).

Posted by Michael (not verified) on Thu, 2012-05-17 11:34
You can also fix this by

You can also fix this by manipulating /etc/resolvconf/interface-order

Look at /run/resolvconf/interface/ - there should be multiple files in your case. Now assure that the correct entry is referenced above the wrong one in the interface-order file

Posted by fn (not verified) on Tue, 2012-05-15 14:52