Comment 55 for bug 989900

Revision history for this message
Thomas Hood (jdthood) wrote : Re: DNS Resolve Problems in Ubuntu 12.04

jedix in #5:
> I noticed that my /etc/resolv.conf only has 127.0.0.1 in it. I believe this is a bug in the new resolvconf package

It's not a bug. It's correct.

Marcus in #6:
> after adding "nameserver 8.8.8.8" to /etc/resolv.conf

Don't do that. If you must temporarily add static entries to /etc/resolv.conf, put them in /etc/resolvconf/resolv.conf.d/head or .../base.

Michael in #52:
> I'm constantly having to edit /etc/resolv.conf everytime I startup my computer and change network topology (wifi vs lan).

/etc/resolv.conf should be a symlink to ../run/resolvconf/resolv.conf and the file shouldn't be edited by hand.

Most name resolution problems in 12.04 can be solved by commenting out the "dns=dnsmasq" line in /etc/NetworkManager/NetworkManager.conf.

If that does not suffice then you can add temporary static nameserver addresses to /etc/resolv.conf via the files /etc/resolvconf/resolv.conf.d/head etc.

Please read resolvconf(8) to gain an understanding of how resolvconf works.