Is it possible to initiate deleting of DNS A and PTR records in DNS from member server?
Asked
Active
Viewed 1,006 times
2
-
As in the A/PTR records for the member server itself? – jscott Nov 12 '12 at 15:19
-
Yes, exactly, for the member server itself. – Volodymyr Molodets Nov 12 '12 at 15:29
1 Answers
3
The dnscmd
command can be used to edit DNS records of the domain.
Something like the following, the /f
switch will "force", that is not prompt for confirmation:
dnscmd <DNSServerName> /recorddelete <ZoneName> <NodeName> <RRType> <RRData> /f
The command will need to run as a user account that has permission to edit DNS records within your domain.
jscott
- 24,204
- 8
- 77
- 99