HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<interface-name>
Data type | Range | Default value |
---|---|---|
REG_SZ | IPAddress[ IPAddress...] (A-space delimited list of dotted decimal IP addresses.) | (There is no default value for this entry. The value is configured by DHCP.) |
Stores a list of DNS servers to which Windows Sockets sends queries when it resolves names for the interface. The value of this entry is configured for the interface by DHCP, but can overridden by a different valid value configured by the user.
The interface-specific DNS name server for the system is determined by the values of DhcpNameServer, which is configured by DHCP, and by NameServer, which you can configure.
If all entries contain valid values, the user-configured values take precedence over the DHCP-configured values configuring the affected interface.
Note
The DHCP client service adds this entry to the registry when the service is enabled. Do not change the value of this entry.
Tip
This entry is associated with a DHCP option. Configuration data for DHCP options is stored in each HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Dhcp\Parameters\Options\ <Option#> subkey. The path to this entry is stored in the value of RegLocation in the associated <Option#> subkey.
To find the DHCP option associated with this entry, use Regedit.exe. From the Edit menu, click Find, and enter the following text: SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\?\DhcpNameServer and select only the Data checkbox.
Caution
The DHCP client service adds this entry to the registry when the service is enabled. It is maintained for internal use by the DHCP client service. Do not delete this entry or change its value.
Related Entries
NameServer (Interfaces subkeys)