On my Linux 17.10 system (previously on 17.04 I didn't have such issue) my /etc/resolv.conf
file kept getting overwritten to:
# Generated by NetworkManager
nameserver 127.0.0.1
I think this is a bug of the NetworkManager. I tried to set this file's owner to root yet it is still getting overwritten from time to time (can't predict when). What is the good way to monitor which process/when was this file modified and how to protect it from getting overwritten?
Just set up your domain address in the
network manager
, to do this edit/run/resolvconf/interface/NetworkManager
file or edit it via graphical interface.