Web Development

Step-By-Step: Clean up DNS with scavenging

The records in your DNS server can easily become outdated over time, especially in an environment with DHCP and Dynamic DNS. Admins can set up scavenging in Windows 2000 to help alleviate the problem, as demonstrated here.

This tip was originally published in TechRepublic's Windows 2000 e-newsletter.


Windows 2000's DNS service supports the scavenging feature, which helps you ensure that DNS records managed by the service are up to date. Scavenging is particularly important if you use Dynamic DNS to automatically register client host names when their IP addresses change, as is often the case when the clients receive address assignments through DHCP.

Over time, client host records in a zone can become stale, and scavenging removes these records. Removing the records improves DNS server and zone transfer performance, and it ensures that host records don't conflict with older records.

DNS scavenging in Windows 2000
You can configure scavenging through a zone's properties.
  1. Open the DNS console, right-click the zone, and choose Properties.
  2. On the General tab, click Aging to open the Zone Aging/Scavenging Properties dialog box.
  3. Set the Refresh Interval and the No-refresh Interval using the drop-down lists.
  4. Select the Scavenge Stale Resource Records check box, and click OK to close both dialog boxes.

Apply globally
You can also configure scavenging for zones globally, rather than for an individual zone, by editing the server's properties. In the DNS console, right-click the server, and choose Set Aging/Scavenging For All Zones. The resulting dialog box is the same as that for an individual zone.

What do you think of this article format?
Our editors are developing and refining new methods and formats for delivering the solutions you need. Do shorter, step-by-step pieces such as this one better help you overcome the IT problems that keep you up at night? Share your thoughts with our editors, and you could win a free TechRepublic book or CD of your choice.
0 comments

Editor's Picks