• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Slave DNS Manager - Slave zone location

Chris1

Regular Pleskian
Hello,

Is it possible to change the location that the Slave DNS Manager adds slave zones to on the slave DNS servers?

Currently it put it in /var/named but I would like them to go into /var/named/slaves.

Instead of this being issued by the Plesk server:
Code:
/usr/sbin/rndc -c slave.config addzone example.com '{ type slave; file "example.com"; masters { <plesk_ip>; }; };'

It would need to be this:
Code:
/usr/sbin/rndc -c slave.config addzone example.com '{ type slave; file "slaves/example.com"; masters { <plesk_ip>; }; };'

The directory owner for /var/named keeps changing back to "root" instead of "named" after a BIND update which prevents zones from being created on the slave servers.
 
Last edited:
Back
Top