• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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