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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s