I was curious about the static record thing with AgeAllRecords. I just tried it and it aged my dynamic records but not the static one I had (i.e. the checkbox to delete was not checked on the static record, but it was on the dynamic one). This is w2k3 sp1. I'm not 100% confident in my results as I set scavenging, turned it off, created a test static record, turned it back on, ran ageallrecords, and then checked it... all within about 10 minutes.
Rich ----------------------------------------------------------------------- Rich Milburn MCSE, Microsoft MVP - Directory Services Sr Network Analyst, Field Platform Development Applebee's International, Inc. 4551 W. 107th St Overland Park, KS 66207 913-967-2819 ---------------------------------------------------------------------- "I love the smell of red herrings in the morning" - anonymous From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gilbert Sent: Thursday, December 07, 2006 8:22 PM To: [email protected] Subject: RE: [ActiveDir] DNS scavenging question Thanks for the input. Luckily for us we do not have any static records, at least I have not created any but I will check with the other Admins to be sure. I thought AGEALLRECORDS for bring the prior records into the fold and then they would be scavenged out in the next cycle. Guess we will give it a try and let everyone know how it turned out. Dan ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vinnie Cardona Sent: Thursday, December 07, 2006 3:12 PM To: [email protected] Subject: RE: [ActiveDir] DNS scavenging question You are correct. Due to the fact that aging/scavenging was not enabled the records which were dynamically registered were not stamped with a date/time. Therefore the aging/scavenging process ignores them upon starting it's scavenging process. You can use the AgeAllRecords which will do just that. Age ALL your records. You have to be careful though. I haven't proven this but I believe that it will also turn your static records into dynamic record (time stamp them). Then when you run AgeAllRecords...well guess what?... To prevent this, Once you ageallrecords you will have to go back into the DNS console and ensure that static/manually created records you need are not set to Delete this record when it becomes stale by unchecking the box in the record properties. You might have to enable the advanced view (View àAdvanced) to view this as well as the timestamp of the record. Once you've completed this you can then right click on the DNS server name in the DNS console and select Scavenge Stale Resource Records or via command prompt: dnscmd <servername> /StartScavenging Note: In order to successfully configure Scavenging and Aging you will need to enable it both on the zone and the DNS server. Which I'm sure you have already...but just in case... Right click on server nameàPropertiesàAdvanced tabàcheck the Enable automatic scavenging of stale records or you can enable it for all zones by right clicking on the server name and selecting Set Aging/Scavenging for all Zones...àcheck the box Scavenge stale resource recordsàOKàcheck the box to apply these settings to the existing Active Directory-integrated zones (if AD integrated)àOK then go to the zone and right clickàPropertiesàGeneral tabàAging button and check the Scavenge stale resource recordsàOK Hope this will help...please chime in... -vC -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gilbert Sent: Thursday, December 07, 2006 11:42 AM To: [email protected] Subject: [ActiveDir] DNS scavenging question I have a rather off the wall DNS scavenging question. I have a bunch of DNS records that are stale and need to be scavenged out of the zone. Following the O'REILLY book: DNS on Windows Server 2003 I have configured aging and scavenging. (Don't ask why this wasn't done when the zone was first setup, that is another story) Now I know: If scavenging is disabled on a standard zone and you enable scavenging, the server does not scavenge records that existed before you enabled scavenging. The server does not scavenge those records even if you convert the zone to an Active Directoryintegrated zone first. To enable scavenging of such records, use the AgeAllRecords in Dnscmd.exe. I know this must be done in order to configure existing records to a scavengable state. Is there a way to immediately force a scavenge cycle that will remove all stale records? I would not to have to wait unitl the "no-refresh" and "refresh" intervals expire. Daniel Gilbert List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/[email protected]/ -------APPLEBEE'S INTERNATIONAL, INC. CONFIDENTIALITY NOTICE------- PRIVILEGED / CONFIDENTIAL INFORMATION may be contained in this message or any attachments. This information is strictly confidential and may be subject to attorney-client privilege. This message is intended only for the use of the named addressee. If you are not the intended recipient of this message, unauthorized forwarding, printing, copying, distribution, or using such information is strictly prohibited and may be unlawful. If you have received this in error, you should kindly notify the sender by reply e-mail and immediately destroy this message. Unauthorized interception of this e-mail is a violation of federal criminal law. Applebee's International, Inc. reserves the right to monitor and review the content of all messages sent to and from this e-mail address. Messages sent to or from this e-mail address may be stored on the Applebee's International, Inc. e-mail system.
