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
then save and close the editor and
sudo restart network-manager