Friday, February 13, 2009

delete dns zone using dnscmd command

To remove a dns zone on command line, do the following
1. Assume the dns server on which to remove the zone is "dnsserver", zone to be deleted is "mydomainzone.com" .
2. Now run the below command to remove the zone.
dnscmd dnsserver /zonedelete mydomainzone.com /f


3. To remove DS integrated zone, run
dnscmd /dnsserver /zonedelete mydomainzone.com /dsdel /f

0 comments:

Design by infinityskins.blogspot