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 "" .
2. Now run the below command to remove the zone.
dnscmd dnsserver /zonedelete /f

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


Design by infinityskins.blogspot