LocalNetPriority

HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters

Data type Range Default value
REG_DWORD 0 | 1 1

Description

Determines the order in which the DNS server returns A records (requests for IP addresses) when it has multiple A records for the same name.

Value Meaning
0 The DNS server returns the A records in a the order in which they were added to the database. It does not sort them. If the value of RoundRobin is 1, the server rotates among the records it returns.
1 The DNS server returns records in order of their similarity to the IP address of the querying client.
 

Change method

To change the value of this entry, use the DNS console. Right-click the server name, click Properties, click the Advanced tab. This entry corresponds to the Enable Netmask Ordering option. You can also use Dnscmd.exe, a tool included with the Windows 2000 Support Tools. With either method, your changes are effective immediately; you do not have to restart the DNS server.

Activation method

DNS reads its registry entries only when it starts. You can change entries while the DNS server is running by using the DNS console or Dnscmd.exe. If you change entries by editing the registry, the changes are not effective until you restart the DNS server.

Note Image Note

The order in which A records are returned depends on the value of LocalNetPriority and the value of RoundRobin, as follows:

Related Entries

Page Image