From time to time when I'm switching from eth0 to wlan0 (or vice versa) interface domain name resolving breaks and /etc/resolv.conf contains
nameserver 127.0.1.1
I commented #dns=dnsmasq in /etc/NetworkManager/NetworkManager.conf and restarted network manager with restart network-manager. But this didn't help.
Then I found that dnsmasq process is not a child of NetworkManager
# pstree -spu $(pidof dnsmasq)
init(1)───dnsmasq(3015,libvirt-dnsmasq)
I'm not sure why it is running. Can it be related to VirtualBox?
I don't want it to touch resolve.conf. How to disable it?
My system is Linux Mint 17 Qiana.