• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

restart overwrites resolv.conf

Where do I put in the nameservers I want to use for DNS?

The interface configuration file /etc/sysconfig/network-scripts/ifcfg-<name>, where <name> refers to the name of the device that the configuration file controls.

Chapter 13.2 of the CentOS Deployment Guide said:
DNS{1,2}=<address>
where <address> is a name server address to be placed in /etc/resolv.conf if the PEERDNS directive is set to yes.

REFERENCE
Chapter 13.2 of the CentOS Deployment Guide.

HTH,
 
Thank you!
This put me on the right track. Turns out for Plesk at Rackspace, there are 2 NICs, and they overwrite resolv.conf sequentially. The above with PEERDNS=no set things right.
 
Back
Top