I'm using Network Manager to auto connect to wireless network. I have setup my personal DNS server using BIND 9.
After connected, it seems just fine:
$ cat /etc/resolv.conf # Generated by NetworkManager nameserver 127.0.0.1
But 30 minutes or so later, the file /etc/resolv.conf is overwritten by unknown program and its contents became:
domain domain search domain nameserver 184.108.40.206 nameserver 220.127.116.11
The question is, how can I know what program changed /etc/resolv.conf? Or, how can I force it to use local nameserver?