Quote:
Originally Posted by corey_james
i don't understand what you're trying to do - is this DNS replication?
Why don't you just force a zone transfer?
|
No, not DNS replication. Replication works fine.
In my environment, with figuratively thousands of zones, I'm looking to simply
automate the addition of new zones to all my name servers.
How does one add a new zone to name servers? (Rhetorical question there.) Here's the 5 steps I take to accomplish this task:
1) Create the new zone file in /etc/namedb/master. (db.zone.com)
2) Add the new zone to named.conf on the master dns server.
3) Reload the master name server, which reads in the new settings in named.conf
4) Add the new zones to the slaves servers' named.conf file.
5) Reload the slave name servers, again, to read in the changes in named.conf. Reloading the slaves at this point automagically initiates a zone transfer from the master.
This is what I am trying to automate. The only part I'm missing is for a clean way to
append the new entries in named.conf on the slave servers
without logging into them and doing it manually.
Sorry, I tend to add a lot of irrelevant information.