Symptom
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.
More Information
Using DNS Aging and Scavenging
Don't be afraid of DNS Scavenging. Just be patient.
Comments
Post a Comment