1

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 NetworkManager 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.

1

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .