resolv.conf nameserver 127.0.1.1 issue with bind9 and dnsmasq
I use my own DNS (bind9) server on local machine. The server running on 127.0.0.1 and Ubuntu 12.10 has "dnsmasq" and it's running on 127.0.1.1
netstat -nl46p | grep :53
I removed # before
prepend domain-name-servers 127.0.0.1;
line in /etc/dhcp/dhclient.conf file but nameserver value is still 127.0.1.1 becouse dnsmasq changes it.
So, I removed "dnsmasq" and problem is solved. I added a #
#dns=dnsmasq
line in /etc/NetworkManager/NetworkManager.conf file and restarted network.