Tuesday, 8 July 2014

Export and Import DNS zone

From Source server:
run this from command prompt to export > dnscmd  /zoneexport zonename.com zonename.com.bak

Note that the backup file you have created will land in %systemroot%\System32\dns
Move the file to Destination server\ %systemroot%\System32\dns
Rename from .bak to .dns

From Destination Server:
Delete existing  zone if it already exist
Create new zone using file zonename.com.dns

1 comment: