I recently upgraded my PC to Ubuntu 14.04. I then experienced major problem in DNS resolution that did not work anymore.
I finally found the following: in /etc, there is a 'resolv.conf' wihich is a symbolic link to
../run/resolvconf.resolv.conf. On my system this is an empty file.
However, '/run/resolvconf/resolv.conf' is there. I manually reated the symbolic link to
/run/resolvconf/resolv.conf. That works perfectly. Howevrer the original link does not work.
To illustrate this, I created two symbolic links in '/etc':
marc@marc-Vostro-420-Series:/etc$ ls -irl dns.* 787036 lrwxrwxrwx 1 root root 27 aoû 29 17:50 dns.ok -> /run/resolvconf/resolv.conf 787080 lrwxrwxrwx 1 root root 29 aoû 29 17:51 dns.nok -> ../run/resolvconf/resolv.conf marc@marc-Vostro-420-Series:/etc$ cat dns.ok # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 marc@marc-Vostro-420-Series:/etc$ cat dns.nok marc@marc-Vostro-420-Series:/etc$
As you see, the second one is empty. Now, the question: Why is the original symlink pointing to the '../' (wrong) version?