Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

DNS Service Ends Unexpectedly and Event 7031 Error Message Appears


Author: Yuval Sinay MVP

View products that this article applies to.

Symptoms

A windows 2000/2003 DNS Service Ends Unexpectedly and Event 7031 Error Message Appears in the event log.

↑ Back to the top


Cause

1. If you are using Windows 2000 Server with service pack version older then 4, please skip to the first� of "Resolution"�section in this knowledgebase.

2.�DNS Server that send numerous of simultaneous�DNS queries to another DNS server (Usually during DNS�forward queries process) may hung up
���� if the target server wouldn't be available to�DNS�forward queries.

↑ Back to the top


Resolution

1. If you use Windows 2000 Server as DNS Server, make sure that you have the latest service pack or if you are using Service Pack 3 or older version
������ you may need to resolve this issue by following the instructions in:
������ DNS Service Ends Unexpectedly and Event 7031 Error Message Appears
������ http://support.microsoft.com/default.aspx?kbid=813425
2. If you are using Windows 2000 Server with service pack 4 or newer version or Windows 2003 Server, please follow the instructions bellow:
���� a. Create�DNS Server�- DNS name resolution�diagram - The diagram should contain information on DNS queries forwards.
���� b. Make sure that all DNS queries forwards are forward to DNS server meet the following requirements:
���������� 1. Have fixed network connectivity to the LAN and the DMZ/Internet.
���������� 2. Can handle�numerous of simultaneous� DNS queries.
���������� 3.�Recommended - Have high availability.
���������
3. Verity the correct IP forwarding settings in the registry:

��������� Windows Registry Editor Version 5.00

��������� [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters]

��������� "PreviousLocalHostname"="servername.domainname.com"

����������"Forwarders"="192.116.202.222 192.116.192.9 194.90.1.5"

��������� "ForwardingTimeout"=dword:00000005

��������� "IsSlave"=dword:00000000

��������� "BootMethod"=dword:00000003

��������� "LogLevel"=dword:00000001

��������� "ScavengingInterval"=dword:00000030

��������� "SecureResponses"=dword:00000000

���� Note: The registry settings depend on your server settings.

↑ Back to the top


More information

DNS Service Ends Unexpectedly and Event 7031 Error Message Appears
http://support.microsoft.com/default.aspx?kbid=813425

How To Configure DNS for Internet Access in Windows 2000
http://support.microsoft.com/default.aspx?scid=kb;EN-US;300202

↑ Back to the top


Community solutions content disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.

↑ Back to the top


Keywords: KB555166, kbhowto, kbpubmvp, kbpubtypecca

↑ Back to the top

Article Info
Article ID : 555166
Revision : 1
Created on : 7/26/2004
Published on : 7/26/2004
Exists online : False
Views : 441