Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
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 Nov 12 '12 at 15:29
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.