Author Topic: DNS Slave  (Read 649 times)

0 Members and 1 Guest are viewing this topic.

DNS Slave
« on: September 07, 2018, 02:23:26 PM »

Having a small issue with DNS Server, I have CWP set as master and to slave out zones and records too 2 other bind box's.

i have installed web-min for all box's.

so the issue i am having, When i create a zone in CWP (ns0) the zone is created and so are all records. But the zone is not pushed to the 2 slave box's (ns1) and (ns2). If i manually add just the zone to the slave box's then all the records are pulled from the master with no issue.

I cant see any difference in the way CWP is writing the config compared to a normal bind _ webmin box.

Little bit stumped if i am honest,

I dont mind if CWP is master DNS going out to 2 slaves or CWP writes out to an external Master and slave, whats the best way to fix this issue

cheers for the help

Re: DNS Slave
« Reply #1 on: December 19, 2018, 10:10:25 AM »
I know this is a couple of months old, but in case it helps anyone else - what I did was write a script that
  • copies all of the zone files to a second server
  • checks and updates (if necessary) etc/named.conf (this tells bind what files to load)
  • restarts bind on the second server

I set this up as a cron job that runs every half hour. Then any dns zones that are updated or added are automatically updated on the secondary server within 30 minutes of the change.