Fixing intermittent DNS problems on Ubuntu 12.04
October 7th, 2012 at 3:59 pmI’ve been having some intermittent DNS resolution failures on my recent installation of Ubuntu 12.04. Googling showed that I’m not the only one, and the solution found here seems to be working for me:
sudo vi /etc/NetworkManager/NetworkManager.conf
Then comment out (by prepending a #) the line dns=dnsmasq. Finally:
sudo restart network-manager
Related posts:

March 15th, 2013 at 02:39
hi, sorry for this, but am a complete novice at ubuntu/linux, and have no idea what you mean by ‘comment out’ and how to do it… appreciate the help.
March 15th, 2013 at 05:20
@sunilesh,
By “comment-out” in this particular file I mean add a hash symbol – ‘#’ in the beginning. So instead of:
You should have:
Alternatively, you can just delete the whole line.
May 4th, 2013 at 02:11
Hi,
Thanks for this – works like a breeze!
Regards
Jochen