Disable dnsmasq in Ubuntu 12.04

One of the changes in Ubuntu 12.04 was to use dnsmasq as a local resolver. I have a local DNS on my LAN so I didn’t particularly want a local resolver. In fact, dnsmasq kept losing track of the servers on my lan (on waking from suspend???) Anyway it was causing me more trouble that it was worth. Here’s how I disabled it.

Open a terminal and

gksudo gedit /etc/NetworkManager/NetworkManager.conf

and comment the “dns=dnsmasq” line by putting a # in front of it. so that it looks like

#dns=dnsmasq

then save and close the editor and

sudo restart network-manager

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

%d bloggers like this: