Over a million developers have joined DZone.
Platinum Partner

Fixing Intermittent DNS Problems on Ubuntu 12.04

· DevOps Zone

The DevOps Zone is brought to you in partnership with Librato.  Check out Librato's whitepaper on Selecting a Cloud Monitoring Solution.

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 , DZone MVB .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}