• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

Windows Domain - DNS Scavenging

Does anyone use scavenging on their domains?

If so how long is it set to?

What are pros and cons?
0
considerscs
Asked:
considerscs
2 Solutions
 
Radhakrishnan RITCommented:
Hi,

It's  recommended to use scavanging on the DNS. You can use the following method to enable scavenge as i use the same on my network.

Log on to the domain controller servers as the Windows administrator user.
From the Start menu, select Programs, Administrative Tools, DNS.
Right-click the name of this server and select Properties.
Under the Advanced tab,tick to enable the option called 'Enable automatic scavenging of stale records'. The scavenging period that you set here determines how often the DNS server will look for stale records (those that have exceeded both the 'No-refresh interval' and the 'Refresh interval' without being refreshed and have become available to be deleted). If you retain the default setting of seven days then the DNS server will only check for and delete stale records once a week which obviously means that stale records will tend to remain in DNS until they are between 14 and 21 days old (if all the default settings have been used). It is reasonable to set this to occur more frequently (for example: by setting the 'Scavenging period' to one day) because the scavenging procedure runs as a low priority thread and so will not greatly impact the performance of the server while it is running.
Click OK to save your changes.
Open a cmd window (from the Start menu, select Run, type cmd and click OK). Type the following command: dnscmd /ageallrecords your.domain /tree /f (where your.domain is as above, for example myschool.internal). (This ensures that all relevant DNS records have a timestamp, which is obviously required for scavenging to work.)

Hope this helps.
0
 
considerscsAuthor Commented:
i am trying to type the command, but its giving 9603 DNS_ERROR_INVALID_ZONE_OPERATION

I have verified this zone is correct.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now