Solved

DNS server aging and scavenging

Posted on 2014-09-17
2
339 Views
Last Modified: 2014-09-19
I'm reading a technet article ( http://technet.microsoft.com/en-us/library/cc759204(v=ws.10).aspx ), but still being confused.

Looking at below screenshots, I set automatic scavenging period as 7 days for the server. What exactly does it means? If it means it scavenges stale records every 7 days, from what date and time? and how can I reset the date and time to start?

I tried to disable and enable this setting  to see if this changes the date and time shown on 'This zone can be scavenged after' on Zone property, but it doesn't change this value at all. If then, now I'm confused for this too, where this date and time came from?

The left screen is DNS server property and the right screen is Zone property.
dns prop
0
Comment
Question by:crcsupport
2 Comments
 
LVL 57

Accepted Solution

by:
Cliff Galiher earned 250 total points
ID: 40329219
My suggestion is don't overthink this. It wasn't meant to be granularly controlled. Like background disk defrag in the newest versions of windows, they give you a time so you can make sure it won't conflict with other maintenance window tasks... mostly backups. And it gives you the "every x days" control so you can customize this based on the number of records that get generated. A system that sees hundreds or thousands of unique devices a day, such as a hotel with public WiFi, will want to scavenge more often than a small business. So let's Sao you decide, based on record creation volume, you want to scavenge every 7 days. It won't matter if that process happens to run every Sunday or every Wednesday. It is only going to scavenge records that are old based on your aging settings. Trying to get mere granular provides ZERO benefit. So they didn't bother to create a GUI for it.

From a purely technical perspective, I believe the counter starts from the time the service starts. So usually it'll be x days (where x is the day count you choose) from the last reboot.
0
 
LVL 40

Assisted Solution

by:footech
footech earned 250 total points
ID: 40329698
I pretty much agree with what Cliff said.

The best article for understanding scavenging that I've come across is:
http://blogs.technet.com/b/networking/archive/2008/03/19/don-t-be-afraid-of-dns-scavenging-just-be-patient.aspx
(I've referenced it so many times it's ridiculous).

One portion in particular that directly answers your question -
"When you first set scavenging on a zone the timestamp seen at the bottom (reload zone if you don't see it) will be set to the current time of day rounded down to the nearest hour plus the Refresh interval.  This also gets reset any time the zone is loaded or any time dynamic updates get enabled on the zone."
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
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…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

820 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