PC Review


Reply
Thread Tools Rate Thread

DNSCMD - delete records

 
 
honda900
Guest
Posts: n/a
 
      7th Jun 2006
To All,

Has anyone been able to successfully delete SRV dns records with this tool.

Were you able to delete all the SRV record types from the DNS server in one
command line or did you need to delete each record type individually?

Do you have an example of the syntax you used to delete the records.

The syntax I am using is;

dnscmd <dnsserverName.FQDN> /RecordDelete <ZoneFQDN> <HostFQDN.> SRV /f
or

dnscmd <dnsserverName.FQDN> /RecordDelete <ZoneFQDN> <HostFQDN.> SRV 00
100 389 /f


The above line then returns that the record was successfully removed, but
the no records are ever removed.

What I am attempting to do is create a reusable script to delete non
existent domain controllers for a test environment, so when copies are made
of the FSMO masters and put into the test environment a script can be run to
cleanup DC's that no longer exist. I have been able to script all but the
DNS component and it is starting to drive me crazy...

Any thoughts appreciated.

Regards
Honda


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete subform records without deleting main form records =?Utf-8?B?QW5pdGE=?= Microsoft Access Form Coding 0 21st Nov 2006 08:00 AM
dnscmd to remove then add NS records Brian S. Bergin Microsoft Windows 2000 DNS 6 6th Apr 2005 06:48 PM
Using dnscmd to Add and Delete records Al Microsoft Windows 2000 DNS 4 8th Feb 2005 08:47 AM
modifying records with dnscmd.exe William Stacey [MVP] Microsoft Windows 2000 DNS 3 14th Sep 2004 11:53 PM
How to delete records from the original table while randomly selecting the records CaribSoft Microsoft Access Queries 2 5th Feb 2004 10:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.