Friday, February 13, 2009

Export Zone to a file using dnscmd

To save zone configuaration in to a file through command prompt using dnscmd command, do the following.

1. Assume the dns server name is "dnsserver", zone which is to be exported is ""

dnscmd dnsserver /zoneexport mydomainzone.txt

The exported zone file can be located at %windir%\system32\dns.

Relevant Posts:
Export Reverse Lookup zone on command prompt


Design by infinityskins.blogspot