DevOps Zone is brought to you in partnership with:

Eli's favorite programming languages are Python and C. He's also proficient in C++, and has various levels of familiarity with Perl, Java, Ruby, Javascript, Common Lisp, Scheme, Ada and a few assembly languages. Eli is a DZone MVB and is not an employee of DZone and has posted 37 posts at DZone. You can read more from them at their website. View Full User Profile

Fixing Intermittent DNS Problems on Ubuntu 12.04

10.09.2012
| 4927 views |
  • submit to reddit

I’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
Published at DZone with permission of Eli Bendersky, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)