hostcademy
Verified User
- Joined
- Jul 6, 2019
- Messages
- 9
I have a simple script to sync the DNS on my DA servers to my two cpanel DNS ONLY nameservers. I think you guys are over-thinking this:
On each cpanel DNS ONLY nameserver this script runs every 10 minutes:
#!/bin/bash
rsync -avz -e ssh [email protected]:/var/named/*.db /var/named/
cd /var/named
chown named.named *.db
/scripts/rebuilddnsconfig
Works perfectly, no need to complicate matters.
On each cpanel DNS ONLY nameserver this script runs every 10 minutes:
#!/bin/bash
rsync -avz -e ssh [email protected]:/var/named/*.db /var/named/
cd /var/named
chown named.named *.db
/scripts/rebuilddnsconfig
Works perfectly, no need to complicate matters.