Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: nuffsaid on March 31, 2017, 10:05:16 PM
-
My /etc/resolv.conf file keeps on resetting after a while or right after a reboot.
I have to now keep on adding the nameservers over and over again just to keep it working ,
How can i fix this ?
-
Did anyone experience this before? This also causes a connectivity issues on the server
-
are you install GUI rdp/vnc and Network Manager?
-
if this is a vps then you can check with your provider to set dns servers for you.
Add "PEERDNS=no". This option will prevent /etc/resolv.conf from being modified
file /etc/sysconfig/network-scripts/ifcfg-eth0 (or other your server has), example
PEERDNS=no
or add tis in the same file
DNS1=8.8.8.8
DNS2=8.8.4.4