Microsoft KB Archive/942923

= After you set the EnableDirectoryPartitions registry entry to 0 on a Windows Server 2003 DNS server, DNS scavenging fails, and event ID 2502 is logged =

Article ID: 942923

Article Last Modified on 10/23/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard x64 Edition
 * Microsoft Windows Server 2003, 64-Bit Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter x64 Edition
 * Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
 * Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems

-



SYMPTOMS
Consider the following scenario:  A Windows Server 2003 domain controller is running as a Domain Name System (DNS) server. On the DNS server, you set the EnableDirectoryPartitions registry entry to 0 under the following registry subkey :



In this scenario, DNS scavenging fails on the DNS server. Additionally, the following event is logged in the DNS server log: Event Type: Information Event Source: DNS Event ID: 2502 Event Category: None Description: The DNS server has completed a scavenging cycle but no nodes were visited. Possible causes of this condition include:

1) No zones are configured for scavenging by this server. 2) A scavenging cycle was performed within the last 60 minutes. 3) An error occurred during scavenging.

The next scavenging cycle is scheduled to run in 0 hours. The event data will contain the error code if there was an error during the scavenging cycle. This problem occurs if one of the following is installed on the DNS server:  Hotfix 830689 that is described in the following article in Microsoft Knowledge Base:

830689 You cannot scavenge old DNS records after you restart the DNS service

 Windows Server 2003 Service Pack 1 Windows Server 2003 Service Pack 2

<div class="workaround_section">

WORKAROUND
To work around this problem, use one of the following methods.

Method 1
Use Windows 2000 servers as DNS scavenging servers. You can continue to use Windows Server 2003 DNS servers in the rest of your environment.

Method 2
Do not host a Domain Naming Master operations master role (also known as flexible single master operations or FSMO) on Windows Server 2003 domain controllers. This configuration avoids creating DNS application partition. Therefore, you do not have to set the EnableDirectoryPartitions registry entry to 0.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
You can use the EnableDirectoryPartitions registry entry to prevent default DNS application partitions from being automatically created. For more information, visit the following Microsoft TechNet Web site:

http://technet2.microsoft.com/windowsserver/en/library/4d8388e6-6ba0-4f08-b1d9-525bf949fa761033.mspx

Additional query words: DNS Scavenging 2502 EnableDirectoryPartitions

Keywords: kbtshoot kbprb kbexpertiseinter KB942923

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.