• 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.

Question Cronjob to update/sync Slave DNS Manager manually (automated)

Julian Johannsen

Basic Pleskian
Dear Pleskians,

we have following Setup:

Master / Plesk / DNS Master (Debian 9, Plesk Onyx 17.x), HOST.XYZ.TLD
Slave DNS only Bind9 (Debian 9), NS1.XYZ.TLD
Slave DNS only Bind9 (Debian 9); NS2.XYZ.TLD

If we create a Domain on our Plesk-Server (Hosting Edition), Plesk create the DNS zones for it. Then we sync all zones to our two Slave DNS Server with the Slave DNS Manager extension.

We need the Cronjob, to send manually (automated) the updates from "Master" to our "Slaves". Named DNS Servers (NIC) are NS1 and NS2. In Plesk there us an Button called "resync".

So far we have not found a description of this.

Thank you for your help :)
All the best
Julian
 
Hi, you can use this command,

/usr/sbin/plesk repair dns -y

this syncs database info with bind, so also triggers Slave DNS Manager extension.

Best regards,
AR Sánchez
 
Back
Top