Sunday, February 15, 2009

Delete Host A record using dnscmd

To remove host Type A record on command prompt, do the following

1. Assume the dns domain is "", dns server for the domain is "dnsserver", Host name for which the Type A record to be deleted is "dnsclient".

dnscmd dnsserver /recorddelete dnsclient A /f


Anonymous said...

Just an addition to this, if you also specify the IP address of the host the associated PTR record will be deleted as well, assuming that the zone is hosted on the same "dnsserver":

dnscmd dnsserver /recorddelete dnsclient A ipaddress /f

Design by infinityskins.blogspot