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 "myrootdns.com", dns server for the domain is "dnsserver", Host name for which the Type A record to be deleted is "dnsclient".

dnscmd dnsserver /recorddelete myrootdns.com dnsclient A /f




1 comments:

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 myrootdns.com dnsclient A ipaddress /f

Design by infinityskins.blogspot