We need a way to sync DNS zone records from Bind(Linux) to Windows 2008 DNS boxes(2 servers in Primary(NS1) and Secondary DNS(NS2) configuration).
Following is what needs to happen:
1. On Bind(Linux) box, a DNS zone will be created. Zone transfers(allow-notify, allow-transfer) are allowed for both Primary(NS1) and Secondary(NS2) Windows boxes.
2. A process instructs Zone creation on both NS1 and NS2 boxes.
On NS1 - dnscmd /zoneadd ZONENAME /primary /file [url removed, login to view] /load
On NS2 - dnscmd /zoneadd ZONENAME /secondary MasterIPAddress
3. And on zone deletion from Linux(Bind) box, these zones should be removed from Primary(NS1) and Secondary(NS2).
We understand that zone transfers can be enabled in Bind and on Windows boxes, we can manually create the zone and then request for zone update. But we want the zone creation process to be automated on Windows boxes.
A possible way is to copy zone files from /var/named/*.db on Bind(Linux box) and copy it to C:\temp on (NS1) and then perform step mentioned in 2nd point.
I am open to any suggestions you have to work this out efficiently if there's a better way.