Microsoft KB Archive/314803

= Access Violation in Dns.exe When Logging Is Enabled =

Article ID: 314803

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q314803



SYMPTOMS
The DNS service on your Windows 2000 DNS server with logging enabled may stop responding (hang) and generate an access violation error message. Your event logs may show Events 5504 and 5506 just before the service hangs.



CAUSE
Certain queries to the DNS server (like a reverse lookup) result in a response that contains a damaged data section, and this can occur when the data in the packet uses compression. The damaged data packet causes the buffer to be overrun, which causes the DNS service to generate an access violation error message and hang.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:

  Date       Time   Version        Size     File name ---  05-Dec-01  16:41  5.0.2195.4732  324,368  Dns.exe



WORKAROUND
To work around this problem, disable logging on the DNS server:
 * 1) Click Start, point to Programs, point to Administrative Tools, and then click DNS.
 * 2) Right-click the server, and then click Properties.
 * 3) On the Logging tab, click to clear every check box under Debug Logging Options, and then click OK.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the article number below to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server Product

For additional information about how to install multiple hotfixes with only one reboot, click the article number below to view the article in the Microsoft Knowledge Base:

296861 Use QChain.exe to Install Multiple Hotfixes with One Reboot

Additional query words: kbDirServices

Keywords: kberrmsg kbbug kbfix kbwin2000presp3fix kbqfe kbwin2000sp3fix kbenv kbnetwork kbdirservices kbhotfixserver KB314803

-

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

© Microsoft Corporation. All rights reserved.