Primary DNS suffix

Policy ID
DNS_PrimaryDnsSuffix
Scope
Computer Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Network › DNS Client

Description

Specifies the primary DNS suffix used by the DNS client in DNS name registration and DNS name resolution.

To use this policy setting, click Enabled and enter the entire primary DNS suffix you want to assign. For example: microsoft.com.

Important: In order for changes to this policy setting to be applied on the DNS client, you must restart Windows.

If you enable this policy setting, it supersedes the primary DNS suffix configured in the DNS Suffix and NetBIOS Computer Name dialog box using the System control panel.

You can use this policy setting to prevent users, including local administrators, from changing the primary DNS suffix.

If you disable this policy setting, or if you do not configure this policy setting, the DNS client uses the local primary DNS suffix, which is usually the DNS name of Active Directory domain to which it is joined.

Options

  • Enter a primary DNS suffix:

Registry

ComputerHKEY_LOCAL_MACHINE
  • NV PrimaryDnsSuffixREG_SZ

Other policies in the same category

View all policies in this category (27)