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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stale dns records

Status
Not open for further replies.
Nov 8, 2002
222
US
Is there another tool that will release old stale dns records besides setting up scavenging.
 
Is there a reason you don't want to use scavenging? What kind of DNS server are you using?
 
You're registering printers dynamically in DNS?
 
We use dynamic IP's on all our network printers here without a problem. If you're not using DNS names for your network printers then you don't have to worry about the DNS scavanging causing a problem. Even if you are set-up to use DNS names on your shared printers, this won't be a problem when you turn on scavanging because the DNS name will still be the same.

Just set-up your DNS scavanging. You'll be good to go.

Good luck,
 
How can I tell that it worked besides the stale records are missing.
 
Umm if the records are missing, then they are gone. You could always try and do a nslookup of a record that you thought should of been scavenged, or do a ping -a on the ip and see if it also returns the name.

Good luck on your hunt!

Cory
 
Look for event 2501 in your DNS Event Log. It should have some details on scavenging, how many records were scavenged, etc.
 
Here's a bit more info....Scavenging looks at a specific date/time stamp on the host records. To prevent a host record from being deleted, the machine must dynamically update the date/time stamp and this typically occurs during renewal and/or startup. Now, if the host record in DNS was not created dynamically by the target (i.e. you manually created the record) the date time field will be blank within the host record itself. DNS, by design, will not scavenge records with blank date/time fields in the record. In our environment we have workstations setup dynamically but printers and servers are all statically setup. Note that you may want to check how the printers are setup in your environment and see if you find a date/time in the scavenging field of the host record. One caution is that with Microsoft DNS the date/time field can be manually turned on and off and the date/time stamp added to or removed from the record by checking or unchecking a check box on the host record. We have been bit a few times by people checking the box on a statically created host record where the machine cannot dynamically update the date/time stamp. Scavenging will take place in this instance and you'll wonder where the record went. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top