Discussion:
DNS Scavenging not working
(too old to reply)
cqmman
2005-09-21 10:57:34 UTC
Permalink
Hello,

We have a W2K domain running on W2K3 domain controllers. We have
multiple zones, all AD integrated.

If I connect to a DC via the DNS admin tool, bring up the properties of
the server, go to the advanced tab, "Enable Automatic Scavenging of
state records" is turned on and set for 7 days.

If I then look at a zone in question, look at its properties, click on
Ageing, oops aging :) I can see that "Scavenging State Resource
Records" is turned on, and the setting for both is seven days.

However, I have plenty of stale records. These records are added
dynamically, as the clients run DHCP.

What am I missing here?

Cheers
Todd J Heron
2005-09-21 14:29:41 UTC
Permalink
How long are you waiting? After a Dynamic Host Configuration Protocol
(DHCP) client lease expires, it is not immediately scavenged from the
database. A grace period of four hours is added to the end of the lease to
prevent against clock drift between the DHCP client and server. On a Windows
2000-based DHCP server, leases are scavenged from the database if they meet
the criteria of (ExpirationTime + 4 hours).
--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights

"cqmman" <***@yahoo.co.uk> wrote in message news:***@z14g2000cwz.googlegroups.com...
Hello,

We have a W2K domain running on W2K3 domain controllers. We have
multiple zones, all AD integrated.

If I connect to a DC via the DNS admin tool, bring up the properties of
the server, go to the advanced tab, "Enable Automatic Scavenging of
state records" is turned on and set for 7 days.

If I then look at a zone in question, look at its properties, click on
Ageing, oops aging :) I can see that "Scavenging State Resource
Records" is turned on, and the setting for both is seven days.

However, I have plenty of stale records. These records are added
dynamically, as the clients run DHCP.

What am I missing here?

Cheers
cqmman
2005-09-21 14:51:52 UTC
Permalink
Been waiting months I suspect in some of these cases... I have a
feeling that some scavaging must be working to some degree because we
have about 100% more records than clients, rather than 1000's of %.
Could be wrong about that though...
Todd J Heron
2005-09-21 16:11:18 UTC
Permalink
I'd clear the checks off the boxes for scavenging, restart the DNS service.
Then put the checks back in again. Maybe a bug.
--
Todd J Heron, MCSE
Windows Server 2003/2000/NT; CCA
----------------------------------------------------------------------------
This posting is provided "as is" with no warranties and confers no rights

"cqmman" <***@yahoo.co.uk> wrote in message news:***@f14g2000cwb.googlegroups.com...
Been waiting months I suspect in some of these cases... I have a
feeling that some scavaging must be working to some degree because we
have about 100% more records than clients, rather than 1000's of %.
Could be wrong about that though...
Kevin D. Goodknecht Sr. [MVP]
2005-09-21 17:42:32 UTC
Permalink
Post by Todd J Heron
I'd clear the checks off the boxes for scavenging, restart the DNS
service. Then put the checks back in again. Maybe a bug.
Also, put the console in Advanced view so you can see the date DNS will be
scavenged, before clicking the aging button.
--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
cqmman
2005-09-21 20:30:47 UTC
Permalink
Thanks very much for the information guys. I will give your ideas a try
tomorrow and see how I get on.

Cheers
James Risto
2005-09-26 18:09:40 UTC
Permalink
I found that I had to turn the switch on, AND also force scavenging with the
following command (which I run 1/week):

dnscmd.exe dns_server_name /startscavenging

And that would only do something if DNS had been running for longer than the
scavenge interval.

Weird.

Loading...