A note on how to disable automatic updates of the /etc/resolv.conf file
Configuration file: / etc / sysconfig / network-scripts / ifcfg-eth0
Setting PEERDNS to no prevents the /etc/resolv.conf file from being updated automatically
PEERDNS=no
Restart the network service for the settings to take effect
service network restart
I changed /etc/resolv.conf, but for some reason it goes back
Recommended Posts