With my ubuntu 16.04, my /etc/resolv.conf change every system start
cat /etc/resolv.conf
nameserver 127.0.0.1
Network-manager have the correct dns name server 192.168.1.1
I removed bind9 and all related packages.
No special config on rc folders nor rc.local
No dns-nameserver options with /etc/network/interfaces
.
I missed something? What app can change this file automatically?
Do you use DHCP?
If you don't use DHCP:
I can't remember when this started, but resolv.conf is a system generated file.
Anything (more specifically, static options from previous resolv.conf's) that you want adding to that should be put in
/etc/resolvconf/resolv.conf.d/base
.Make sure resolvconf service is running, enable it:
then enter this one:
then add/change the nameservers you want and save, and then modify the resolv.conf and close.
remember to set your network-manager dns to what you've set in resolv.conf