Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS Clearout procedure

Status
Not open for further replies.

Aelara

IS-IT--Management
Dec 13, 2007
34
GB
Hello, Have a situation were the DNS server on both the Forward and reverse lookup zones have many decommissioned workstation names/entries and IP's for both the Host(A) records and Pointer(PTR) I am running a couple of utilities dependent on these entries and in most cases they resolve the wrong name due to the multiple entries per IP address.

What is the safest way to clear them out and start again? I could just delete all A and PTR records and let them register when the workstation logs on to the Domain but I may be going about it the wrong way. Any advise?

Aelara.
 
You could probably achieve what you want to do using the DNSCMD command line utility with the /NODEDELETE switch. That should kill only the records in a particular node as long as you don't use /TREE with it. You could also use the /AgeAllRecords and then run it again with /StartScavenging to kill the records as 58sniper says above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top