is there a way to transfer all zone files from one windows box to another, i have to replace my secondary dns server, and would like to copy all the zones from the current secondary to the new one, just not sure how. they are 2000 server boxes.
The simple way of doing that is to create secondaries on the new box. make sure that everything is fine with the server and zones. and than convert these zones type to primary on new server and secondary on the old one.
to do it quick you can use dnscmd.exe
sample steps are:
-dnscmd y.y.y.y /enumzones > zones.txt
-clean zones.txt to have only zonenames per line
-for /F %i (filename) do -createzone- %i
where -createzone- a batch file with commands like
dnscmd x.x.x.x /zoneadd %1 /secondary y.y.y.y /file %1.dns
that is a little confusing, i guess what i just need is .
ex. primary dns has 100 zone files, i want to either be able to sync the secondary with the primary instead of creating the secondary zones one at a time etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.