Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After apt-get upgrade this morning, my Ubuntu 12.04 web server does no longer resolve a domain name hosted on it.

I also received the error message:

"resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything."

I found this question Network Manager not populating resolv.conf but the solutions provided there did not resolve the problem.

Creating the symlink in fact caused websites to load very slowly, so I assume there is some sort of (reverse?) DNS lookup not working, when I create the symlink.

share|improve this question
Look up my post here… and let me know if that worked for you. – exIT Solutions Aug 5 '12 at 23:39
up vote 1 down vote accepted

Running "dpkg-reconfigure resolvconf" sets up the symlink /etc/resolv.conf -> ../run/resolvconf/resolv.conf. After this you should reboot.

If websites are slow to start loading then this could indicate that a nameserver listed in resolv.conf is not responding. The glibc resolver(3) tries the first listed nameserver and waits five seconds before trying the next listed nameserver.

Also try commenting out "dns=dnsmasq" in /etc/NetworkManager/NetworkManager.conf and running "restart network-manager". This disables the local NetworkManager-controlled dnsmasq instance, thus eliminating it as a possible cause of your problem.

If websites are not slow to start loading but load slowly after starting then this is most likely not a name resolution problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.