How to delete A reocrd in DNS

  • Thread starter Thread starter Wensi Peng
  • Start date Start date
W

Wensi Peng

Hello,

Is the two ways below deleting a A record in DNS same?

(1) delete from DNS console

(2) delete dnsNode in MiscrosoftDNS in AD by a VBscript.

Thanks,
Wensi
 
Wensi Peng said:
Hello,

Is the two ways below deleting a A record in DNS same?

Probably many ways.
(1) delete from DNS console
Normally.

(2) delete dnsNode in MiscrosoftDNS in AD by a VBscript.

I wouldn't use that unless it were part of a larger script
designed to do something you can't otherwise do easily.

DNSCmd and some tools you will find on the Internet can
also do it but they amount in one way or another to calling
an API to do it.
 
Deletion using DNSCmd is not safe. It has two options: RRType and RRData. If
RRData is missing for any reason, It will delete all records with the same
RRType. This is a reason I do not select DNScmd. I have to clean a few
thousands of workstations in DNS.

I plan to create a temporary OU and move all stale records to this OU
instead of direct deletion.
This is why I prefer to choose my own VBscript to do the task. I did
manually delete a few dnsNodes in AD and the result is same like deletion
from DNS console.
I would like to have experts here to verify my plan.

Thanks,
Wensi
 
Wensi Peng said:
Deletion using DNSCmd is not safe. It has two options: RRType and RRData. If
RRData is missing for any reason, It will delete all records with the same
RRType. This is a reason I do not select DNScmd. I have to clean a few
thousands of workstations in DNS.

Well, that is good (???) to know. Thanks.
 
Back
Top