Policy
DNS servers
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: WindowsXP
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.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
IP addresses: ID DNS_NameServerLabel | text | HKLM\Software\Policies\Microsoft\Windows NT\DNSClient\NameServer Type REG_SZ | None |
Other policies in this category
Explore related policies at the same level.
- ComputerAllow DNS suffix appending to unqualified multi-label name queriesAt least Windows Vista
- ComputerAllow NetBT queries for fully qualified domain namesAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Discovery of Designated Resolvers (DDR) protocolAt least Windows 11 Version 23H2
- ComputerConfigure encrypted name resolutionAt least Windows Server 20H2, Windows 10 Version 20H2
- ComputerConfigure multicast DNS (mDNS) protocolAt least Windows Server 2016, Windows 10 Version 1703
- ComputerConfigure NetBIOS settingsAt least Windows Vista
- ComputerConnection-specific DNS suffixWindows XP Professional only
- ComputerDNS suffix search listAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerDynamic updateAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerIDN mappingAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerPrefer link local responses over DNS when received over a network with higher precedenceAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerPrimary DNS suffixAt least Windows 2000