2

Is it possible to initiate deleting of DNS A and PTR records in DNS from member server?

Volodymyr Molodets
  • 2,404
  • 9
  • 35
  • 52

1 Answers1

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