"Synchronize DNS Records with Primary Nameserver" every day?

wmostrey

Member
Dec 11, 2003
6
0
151
How can I make the option "Synchronize DNS Records with Primary Nameserver" run every day, or each X hours?
 

wmostrey

Member
Dec 11, 2003
6
0
151
when I run the script, I get the following error:

./dnstransfer
Rebuilding DNS Zones List from master server .....
stdin: is not a tty
named.conf 100% |**********************************************************************************************************| 159 KB 00:00
ndc: connect failed: connection refused
Rebuild Complete

Are the files synced or not?
 

kris1351

Well-Known Member
Apr 18, 2003
961
0
166
Lewisville, Tx
Make sure you have run /scripts/fixndc 2-3 times. Then also you have to establish a trust relationship with the primary through WHM.
 

wmostrey

Member
Dec 11, 2003
6
0
151
the trust relation is set, and sync works trough the WHM. does the error mean it is not synced?
 

scapeweb

Active Member
Aug 16, 2003
44
0
156
Do I still have to set up a cron for cpanel 8. Or will the nameserver syc by themselves.
 

wmostrey

Member
Dec 11, 2003
6
0
151
you need to set up the sync yourself. i myself did not succeed in this. i set up an rsync and cron.hourly between the two servers, which syncs the named dir and named.conf each hour.