scavenging is not removing stale records

  • Thread starter Thread starter bruce
  • Start date Start date
B

bruce

I enabled scavening of stale DNS records yesterday (for zones & server). I
left the default at 7 days. I have an Event ID today that it ran.

Event Type: Information
Event Source: DNS
Event Category: None
Event ID: 2501
Date: 1/14/2004
Time: 12:26:30 PM
User: N/A
Computer: HQS1
Description:
Dns Server has completed a scavenging cycle:
Visited Nodes = 0,
Scavenged Nodes = 0,
Scavenged Records = 0.
This cycle took 0 seconds.
Next cycle is scheduled in 168 hours.
The record data may contain error code.

However, there are still stale records. Why is Visisted Nodes = 0? What
else do I need to do to get this to run & actually visit/scavenge some
nodes?
 
You understand that scavenging will remove old records that are dynamically
created, right? If you want to remove ALL old records, you will need to age
all the records first, then scavenging will clean them up. This may cause
you more griefs than neccessary, though, so I don't highly recommend it.
dnscmd.exe is a tool you can use for this purpose.

--
Sincerely,

Dèjì Akómöláfé, MCSE MCSA MCP+I
www.akomolafe.com
www.iyaburo.com
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
 
yes. These are dynamic records. Some with a timestamp from 2002. "Delete
this record when is becomes stale" is enabled for the records I'm looking
at.
 
Hi
If dynamic records are showing up as a year old then you don't have
Scavenging enabled properly. There are 2 Places that scavenging has to been
enabled. One at the server level and 2 at the zone level. When you enabled
Scavenging at the zone level you notice the records will start having an
upto date timestamp as this actually starts the Aging in the Aging and
Scavenging process. Then you enable it at the server level and this
initiates the thread to tell the server to check the zones that are
configured for aging and remove old records appropriatly.

296116 HOW TO: Configure the Windows 2000 Domain Name System to Age Records
http://support.microsoft.com/?id=296116

Thank you,
Alan Wood[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top