Microsoft DNS server – backup and restore AD integrated zone

1. Backup the existing zone to a zone file. Resulting file will always be placed in C:\Windows\system32\dns – this can’t be controlled:
dnscmd /zoneexport zone.local

2. To restore the zone, move the file back into C:\Windows\system32\dns then:
dnscmd /zoneadd zone.local /primary /file /load

And finally, convert it into an AD integrated zone:
dnscmd /zoneresettype zone.local /dsprimary

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen + eleven =

This site uses Akismet to reduce spam. Learn how your comment data is processed.