• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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