Scavenging (Cleanup Stale DNS Records)

Dana Wirya 1 Reputation point
2020-08-25T14:46:07.2+00:00

Dears,

We have enabled Scavenging zone aging but not DNS level, we need to enable in DNS level also, but we scare to affect some server which are shut down for many days even the IP address is set as a static and move them to stale, and we scare also if client computer shut down for more than 2 weeks and the computer will go to stale and deleted DNS then they will not able to login again.
My question if we enable Scavenge in DNS level in the main and we shut down the servers for some days is the DNS will be move to stale and delete even in static? or if employee taking annual leave or not coming to the company for more than two weeks are their DNS records going to stale?

Best Regards,

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,022 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gloria Gu 3,891 Reputation points
    2020-08-26T03:16:34.373+00:00

    Hi,

    In regards to your issue, here're my suggestions:

    The static RRs will not be deleted when configuring Scavenge&Aging in DNS zones.

    Typically, only those resource records added dynamically using the DNS dynamic update protocol are subject to aging and scavenging.
    For critical resources that you do not want their resource records to be part of DNS aging and scavenging mechanism, you will need to convert their records to static ones instead of dynamic.
    When scavenging, a server examines each record in the zone. If a record has a zero value timestamp, it is ignored; if the record is stale, it is deleted.

    To realize this, you can turn these records into static ones with a zero value timestamp:

    20249-24.png
    20250-25.png

    In AD-integrated zones, the change will be replicated to other DC / DNS servers and the resource record will be excluded from aging and scavenging mechanism.

    For more details about How DNS Aging and Scavenging Works, please refer to:
    21724.how-dns-aging-and-scavenging-works.aspx

    -------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

    Regards
    Gloria