Principale utente con più risposte

Scavenging Not Working

Domanda

I'm a little confused here and I'm not sure if something is setup incorrectly or if I'm just being impatient.

I replaced my two Domain Controllers over the last week and a bit with 2008 R2 servers (2003 functional level).

I have AD integrated DNS on my DCs set to accept secure updates only.

DHCP is setup with the DNS Dynamic Update Credentials setup.

DHCP clients are registered in DNS so that works fine.

I have Scavenging enabled on the zones, and and on one of the new servers in the DNS server properties.

Now, when I run scavenging, in the DNS event log I get a 2502 that no records could be scavenged, despite there being records listed in DNS that are clearly older than the scavenging
interval (7 days).

The scavenging interval can be set to anything you like, but a record won't be scavenged until it's older than the result of [no refresh interval] + [refresh interval].

So, let's say you had the scavenging interval set to 1 day, the refresh interval set to 5 days, the no refresh interval set to 5 days and we're looking at a freshly registered record in DNS. Each day for the the first 9 or 10 days (depending on just how
in sync the actual timestamps are) the scavenging cycle will run but not clean this record. Then, on the 10th/11th - assuming it hasn't been updated, of course, the scavenging cycle will run and purge the record.

Also, while you mention you have enabled scavenging on the zone, you don't mention you have enabled it on the server. You have to do both.

Enabling the feature on the server node is what actually enables the scavenging process. Enabling it on the zone simply flags the zone as being available for scavenging. The contents of zones that are not flagged are not checked by the scavenging process
at all.

The scavenging interval can be set to anything you like, but a record won't be scavenged until it's older than the result of [no refresh interval] + [refresh interval].

So, let's say you had the scavenging interval set to 1 day, the refresh interval set to 5 days, the no refresh interval set to 5 days and we're looking at a freshly registered record in DNS. Each day for the the first 9 or 10 days (depending on just how
in sync the actual timestamps are) the scavenging cycle will run but not clean this record. Then, on the 10th/11th - assuming it hasn't been updated, of course, the scavenging cycle will run and purge the record.

Also, while you mention you have enabled scavenging on the zone, you don't mention you have enabled it on the server. You have to do both.

Enabling the feature on the server node is what actually enables the scavenging process. Enabling it on the zone simply flags the zone as being available for scavenging. The contents of zones that are not flagged are not checked by the scavenging process
at all.