NameServer

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ interface-name

Data type

Range

Default value

REG_SZ

IPAddress[ IPAddress...]

(Blank value)

Description

Stores a list of Domain Name System (DNS) servers to which Windows Sockets sends queries when it resolves names for this interface. This entry, which can be changed by the user, overrides the values that the Dynamic Host Configuration Protocol (DHCP) configures for the DNS name servers.

The interface-specific DNS name server for the system is determined by the DhcpNameServer entry, which DHCP configures, and by this entry, which the user can configure. If the value of this entry is valid, it takes precedence over the value of DhcpIPAddress.

Change method

To change the value of this entry. use Network and Dial-up Connections. Right-click a connection and click Properties. If it is a dial-up connection, click the Networking tab. In the Components checked are used by this connection box, click Internet Protocol (TCP/IP), click Properties, click the Advanced button, and click the DNS tab. The servers in this list appear in the DNS addresses, in order of use box. To add a DNS server to the list, click Add.

Related Entries

DhcpNameServer