Windows Domain - DNS Scavenging

Does anyone use scavenging on their domains?

If so how long is it set to?

What are pros and cons?
LVL 1
considerscsAsked:
Who is Participating?
 
Radhakrishnan RConnect With a Mentor Senior Technical LeadCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.