Solved

Windows Domain - DNS Scavenging

Posted on 2013-01-08
3
571 Views
Last Modified: 2013-01-08
Does anyone use scavenging on their domains?

If so how long is it set to?

What are pros and cons?
0
Comment
Question by:considerscs
3 Comments
 
LVL 10

Accepted Solution

by:
jmanishbabu earned 250 total points
ID: 38754990
0
 
LVL 20

Assisted Solution

by:Radhakrishnan Rajayyan
Radhakrishnan Rajayyan earned 250 total points
ID: 38755101
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
 
LVL 1

Author Comment

by:considerscs
ID: 38755733
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now