Author Topic: resolv.conf keeps on resetting  (Read 9055 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
resolv.conf keeps on resetting
« 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 ?

Offline
*
Re: resolv.conf keeps on resetting
« Reply #1 on: April 04, 2017, 07:24:59 AM »
Did anyone experience this before? This also causes a connectivity issues on the server

Offline
*
Re: resolv.conf keeps on resetting
« Reply #2 on: June 03, 2017, 12:19:13 PM »
are you install GUI rdp/vnc and Network Manager?

Offline
*
Re: resolv.conf keeps on resetting
« Reply #3 on: June 08, 2017, 11:15:44 AM »
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
Code: [Select]
PEERDNS=no
or add tis in the same file
Code: [Select]
DNS1=8.8.8.8
DNS2=8.8.4.4
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services