DNS records are deleted automatically from DNS server

  • Some DNS records may be deleted from DNS server automatically. For example, you have created static A records for your printers.  However, these records are deleted automatically.

Cause
This problem may occur when DNS scavenging is enabled. DNS scavenging is feature which helps remove stale resource records automatically. Scavenging improves DNS server and zone transfer performance when working with dynamic update together. However, some devices may not be able to perform dynamic update. When DNS scavenging is enabled, these records may be recognized as stale and deleted automatically because they are not updated timely.

Solution
Scavenging is set in three places on a Windows Server:
1.                   On the individual resource record to be scavenged.
2.                   On a zone to be scavenged.
3.                   At one or more servers performing scavenging.

It must be set in all three places or nothing happens. You may configure DNS scavenging settings based on your requirement.
Option #1: Disable scavenging on the individual resource record

If only several specific records, such as A record for TCP/IP printers, do not support dynamic update and you want to enable DNS scavenging on other records, you may disable scavenging on these particular records by performing the following steps:

1.                   Open the DNS snap-in.
2.                   Right click the individual record and open the Properties dialog.
3.                   Uncheck the Delete this record when it becomes stale option and click OK.

Option #2: Disable scavenging on the DNS zone
If you want to disable DNS scavenging on a particular DNS zone, you can perform the following steps:
1.      Open the DNS snap-in.
2.      In the console tree, right-click the applicable zone, and then click Properties.
3.      On the General tab, click Aging.
4.      Clear the Scavenge stale resource records check box.
5.      Click OK.

Option #3: Disable scavenging on the DNS server

If you want to disable DNS scavenging on the server as a whole, you can perform the following steps:
1.                   Open the DNS snap-in.
2.                   Right click the DNS server item and open the Properties dialog.
3.                   On the Advanced tab, clear the Enable automatic scavenging of stale records option, and click OK.

Using DNS Aging and Scavenging
http://technet.microsoft.com/en-us/library/cc757041(WS.10).aspx

Don’t be afraid of DNS Scavenging. Just be patient.
http://blogs.technet.com/networking/archive/2008/03/19/don-t-be-afraid-of-dns-scavenging-just-be-patient.aspx

2 thoughts on “DNS records are deleted automatically from DNS server

  1. Pingback: 2010 in review « Hakan Yuksel Blog

  2. I really Feel blog, “DNS records are deleted automatically from DNS server Hakan Yuksel Blog” was correctly written!
    I personallycouldn’t see eye to eye with you even more! At last seems like Iidentified a web-site very well worth checking out. Thank you, Antoine

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s