Link to home
Start Free TrialLog in
Avatar of Alex John
Alex JohnFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Should I enable DNS Scavenging on my DNS Servers? What are the implications? DNS DB location?

Hi Experts,

I am running Best Practice Analyzer on all four of my DNS Servers (Server 2008 R2).

On all four DNS Servers I get the warning message stating that "The DNS server should have scavenging enabled" as the size of the DNS database can become excessive.

I am assuming the DB size is small, but how can I check?

Where is the location of the DNS database file so I can check whether the file is taking a lot of space?

If I enable scavenging, what are the implications? What could go wrong if it is enabled?
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Scavenging removes stale resource records from DNS.
If you do not have aging and scavenging enabled records in DNS are deleted only manualy.

On Windows operating systems, DNS data can be stored in Active Directory or in dns file. DNS files are usually located in Windows\System32\DNS folder.
Avatar of Shaun Vermaak
Do not set it too low, I recommend sticking to 7 days.
Setting it too low means it will get salvaged quicker than the actual refresh rate
Aging and scavening intervals depend on DHCP lease time.

If you use default DHCP lease time of 8 days, it will work with default DNS settings. 7 days for no refresh interval, 7 days for refresh interval.

Aging and scavening interval should never be shorter than 24 hrs or else you could delete service resource records of domain controllers.
It's unlikely your DNS database will grow large enough to cause problems; I don't think I've ever seen that happen, and as already stated, if your DNS zones are AD-integrated, DNS data is stored in Active Directory.

Having said that, implementing scavenging is almost always a good idea, but you should be aware of how it works before you do so. To that end, I highly recommend reading this TechNet blog entry from start to finish. It was written in 2008, but it's still relevant and very informative.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.