resolv.conf nameserver issue with bind9 and dnsmasq

I use my own DNS (bind9) server on local machine. The server running on and Ubuntu 12.10 has "dnsmasq" and it's running on

netstat -nl46p | grep :53

I removed # before

prepend domain-name-servers;

line in /etc/dhcp/dhclient.conf file but nameserver value is still becouse dnsmasq changes it.

So, I removed "dnsmasq" and problem is solved. I added a #


line in /etc/NetworkManager/NetworkManager.conf file and restarted network.