Ubuntu DNS Issue

Sometimes you end up having some trouble with ubuntu’s dns even if you actually edit properly /etc/resolv.conf.

That’s because resolvconf actually writes the file on /run/resolvconf/resolv.conf.

As a solution here’s what you can do:

$ sudo dpkg-reconfigure resolvconf

or

$ mv /etc/resolv.conf /run/resolvconf/resolv.conf

$ ln -s /run/resolvconf/resolv.conf /etc/resolv.conf

Source: http://askubuntu.com/questions/368435/how-do-i-fix-dns-resolving-which-doesnt-work-after-upgrading-to-ubuntu-13-10-s#comment471817_368935

Leave a comment