DNS Server Stops Using Round Robin for Host Name Resolution

ID: Q177883


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SYMPTOMS

After you apply the latest Dns.exe, your Microsoft Windows NT Domain Name Service (DNS) server no longer responds to queries in a round robin fashion.

For additional information, please see the following articles in the Microsoft Knowledge Base:

ARTICLE-ID: Q159310
TITLE : Updated Version of Dns.exe Fixes Several Problems

ARTICLE-ID: Q168321
TITLE : Creating a DNS Record for a Host That Has 2 or More IP Addresses


CAUSE

The latest version of Dns.exe for Windows NT server introduces a new feature, LocalNetPriority, that attempts to return Host resources that are local to the requestor instead of merely responding round robin.


RESOLUTION

By default, this feature is enabled and normal round robin responses will not occur. To return to round robin responses, you will need to use the following steps to disable the LocalNetPriority setting:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.

  1. Start Registry Editor (Regedt32.exe or Regedit.exe).


  2. Go to the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters


  3. Create a new value using the following information:

    Value Name: LocalNetPriority
    Data Type : REG_DWORD
    Data : 0 (0 = disabled, 1 = enabled)


    NOTE: This value does not exist by default.


  4. Stop and restart the Microsoft DNS server service.



MORE INFORMATION

The DNS server will attempt to offer the "best-fit" address in response to a DNS query. This best-fit is one that is determined to be on the same subnet as the requesting DNS Client.

The classfull address is used to determine if the record and the querying DNS Client are on the same subnet. This means only the first octet will be used for class A addresses, the first two octets for class B, and the first three octets for Class C addresses. If you have subnetted your address space, this may have a derogatory effect on round robin load balancing.

Additional query words:

Keywords : kbnetwork nthowto ntnetserv NTSrv
Version : WINDOWS:2000; winnt:4.0
Platform : WINDOWS winnt
Issue type : kbprb


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.