none
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).

    Am I just being impatient here?

    Thanks.

    martedì 1 maggio 2012 19:02

Risposte

  • Follow the below article.

    Don't be afraid of DNS Scavenging. Just be patient.

    Thanks




    martedì 1 maggio 2012 19:20
  • Hi Paul,

    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.

    Cheers,
    Lain

    martedì 1 maggio 2012 23:48

Tutte le risposte

  • Follow the below article.

    Don't be afraid of DNS Scavenging. Just be patient.

    Thanks




    martedì 1 maggio 2012 19:20
  • Hello,

    Yes, you are impatient here. With aging and scavenging, you have to be patient! Details in the article which MYusufAli pointed to.

    Please note that static records will not be cleaned by aging and scavenging and that they have to be cleaned manually.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    martedì 1 maggio 2012 21:22
  • Hi Paul,

    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.

    Cheers,
    Lain

    martedì 1 maggio 2012 23:48