Old DNS Entries....

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

I have a constant issue, whereby an entry never retires in
DNS. If you rename a server, a record for the old name
remains.

How can I make sure that DNS is maintaining an accurate
list?
 
Hello,

You need to enable aging and scavenging on your DNS server and on the
specific zone. Here is an article that walks you through the process;

296116 HOW TO: Configure the Windows 2000 Domain Name System to Age Records
http://support.microsoft.com/?id=296116

Once this is enabled, all new records and records that are re-registered
dynamically will have a counter attached to them that determines thier age.
The aging and scavenging services will use this to determine if the record
is outdated and needs to be removed.

Most of this information is from the Windows 2000 Server Resource Kit,
TCP/IP Core Networking Guide, Chapter 6.

In order for periodic scavenging to occur:
1. Server must be set to enable scavenging (Server Properties, Advanced,
Enable
automatic scavenging)
2. Zone must be set to enable scavenging (Zone parameters, Aging button)
3. Dynamic update must be enabled (doesn't make sense if the zone is not
Dynamic)
4. Zone parameters "ScavengingServers" includes the IP address of the server
5. Current time is greater than zone parameter "StartScavenging"

StartScavenging is set when any of the following events occur:
1. Dynamic update is turned on
2. EnableScavenging is set from 0 to 1
3. The zone is loaded
4. The zone is resumed

A record may be set to allow it to be deleted if stale. However, changing
the record to allow it to be deleted does not set the counter. When the
server is ready to scavenge records, it examines all the records in the
zone one by one. If the timestamp is not zero and the current time is
later than the time specified for the record plus the no-refresh interval
plus the refresh interval for the zone, it deletes the record.

In order to age existing records you will need to run the DNSCMD utility.
Proper syntax is "dnscmd /ageallrecords <zone name> /f"

You will have to have scavenging enabled first. In addition this will age
all records within the zone. Even static ones.

For more information about Dnscmd.exe, see the Windows 2000 Support Tools
Help. For information about installing and using the Windows 2000 Support
Tools and Support Tools Help, see the Sreadme.doc file in the Support\Tools
folder on the Windows 2000 CD-ROM.



Larry Stotler, MCSE
Microsoft Product Support

NOTE: Please reply to the newsgroup and not directly to me. This allows
others to add to and benefit from these threads and also helps to ensure a
more timely response. Thank you!

This posting is provided "AS IS" without warranty either expressed or
implied, including, but not limited to, the implied warranties of
merchantability or fitness for a particular purpose
 
Back
Top