Automated zone file transfer from primary nameserver to secondary
Posted on 2006-04-14
I have nothing but admiration for guys who know DNS well.... 500 points. Wish I could give more.....
Our old dedicated server automatically does all our DNS work for us... for <> 150 sites now... a blessing indeed! All we do is add a site, it automatically creates the primary and secondary DNS zones and sets them up on external nameservers... we don't even know how (proprietary scripts I am guessing!)! No matter!
Anyway, now we have a new server with another company and have to do our own DNS. I have successfully installed a primary nameserver, and managed to get it to transfer DNS data for a couple of zones to a free secondary nameserver. Bind9. It works well, transfers the changes, looks good. Now we are ready to set up a secondary nameserver of our own.
My question is, "How can we set this up so that it can automatically tranfer NEW ZONE FILES to our secondary nameserver?" In other words, when we create a site, it creates our primary DNS zone files and restarts bind. The primary name server answers queries, no problem. Is the only way to set up transfers to the secondary server to manually create a new slave zone file on the secondary server and add allow-transfer to the primary zone file?
Or is there some option in BIND I am not seeing or not understanding (masters?) that can transfer not only updated zone info. but set up any new zone files on the secondary?