DNS servers
- Policy ID
- DNS_NameServer
- Scope
- Computer Configuration
- Supported on
- Windows XP Professional only
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Network › DNS Client
Description
Defines the DNS servers to which the DNS client sends queries when it attempts to resolve names. This policy setting supersedes the list of DNS servers configured locally and those configured using DHCP.
To use this policy setting, click Enabled, and then enter a space-delimited list of IP addresses in the available field. To use this policy setting, you must enter at least one IP address.
If you enable this policy setting, the list of DNS servers is applied to all network connections used by the DNS client.
If you disable this policy setting, or if you do not configure this policy setting, the DNS client will use the local or DHCP supplied list of DNS servers, if configured.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- NameServerREG_SZ