Server 2012 : Set Aging and Scavenging Properties for the DNS Server

After installing the DNS Server role on our server, we should spend a few minuts configuring it.

After following this post, you might want to take a look at another post of mine: Server 2012 : Setup DNS, Reverse Lookup Zone and nslookup

This post contains:

  • Enable Scavenging on your DNS server
  • Enable Scavenging for all Zones
  • Manually Scavenge stale records
  • Enable Scavenging for an individual Zone

Opening your DNS Manager by typing DNS in start or run dnsmgmt.msc

Enable Scavenging on your DNS server

  1. First of all, we need to enable Scavenging on the DNS-server. Many tends to forget this step, and to be honest, it does seem a tad redundant. Nevertheless, open the DNS Manager, right-click server name and select Properties.
    00.1-dns
  2. Click the Advanced tab and put a mark in Enable Automatic svacenging of stale records and click Apply/OK.
    00.2-dns
  3. Scavenging is now enabled on the DNS server, but remember you have to either enable scavenging on all zones or enable scavenging on individual zones as well, which we do next, or nothing happens.

Enable Scavenging for all Zones

  1. Right-click your servername, my server is named T2DC01, and select Set Aging/Scavenging for All Zones…,
    01.1-dns
  2. Put a mark in Scavenge stale ressource records, and adjust the settings if you need to. Default is 7 and 7.
    05-dns

Manually Scavenge stale records

  1. Right-click your servername, my server is named T2DC01, and select Scavenge Stale Ressource Records,01-dns
    and OK to the pop-up prompt
    02-dns

Enable Scavenging for an individual Zone.

Use this option if you do not want Scavenging enabled for all zones, or if you want different settings pr. zone.

  1. Right-click your Forward Lookup Zone name, in my case test02.dmz and select Properties
    03-dns
  2. On the General tab, click Aging…
    04-dns
  3. Put a mark in Scavenge stale ressource records, and adjust the settings if you need to. Default is 7 and 7.
    05-dns
References and cmd line info:

Understanding Aging and Scavenging
Set Aging and Scavenging Properties for the DNS Server

 

Posted in DNS, Server 2012

Leave a Reply