Use this when a machine registers DNS with the wrong domain.
DNS Suffix
1. ipconfig /all — Primary DNS Suffix and connection suffix.
2. Domain members: suffix = AD domain.
3. Registration uses it: ipconfig /registerdns.
4. Change via System Properties / GPO.
5. Test FQDN resolution.
primary + connection-specific suffix → FQDN → registration
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Short names failing because the suffix is missing on non-domain machines.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- The primary DNS suffix comes from the domain membership.
- Dynamic DNS registration can use both primary and connection suffix.
Resolve-DnsName <name>— resolve via the Windows resolverGet-DnsClientServerAddress— DNS servers per interfaceGet-DnsClientCache— resolver cacheGet-DnsClientGlobalSetting— suffix search listClear-DnsClientCache— flush the cache
ReferenceWhy it matters1 section · depth on demand
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Which suffix does what
| Suffix | Set by | Used for |
|---|---|---|
| Primary DNS suffix | Domain membership (AD domain) or System Properties | Computer FQDN, dynamic registration, appended to single-label names |
| Connection-specific suffix | DHCP option 15 or adapter settings | Appended for names resolved over that adapter; optional registration under that suffix |
| Search list | GPO DNS Suffix Search List or Set-DnsClientGlobalSetting | Replaces the two above for name completion |
Inspect on a client
PS C:\> Get-DnsClientGlobalSetting | Select UseSuffixSearchList, SuffixSearchList, UseDevolution, DevolutionLevel
PS C:\> Get-DnsClient | Select InterfaceAlias, ConnectionSpecificSuffix, RegisterThisConnectionsAddress, UseSuffixWhenRegistering
PS C:\> ipconfig /all | findstr /i "Primary Suffix"
Devolution
With primary suffix branch.corp.example.com and devolution enabled, the client also tries name.corp.example.com (but not the top-level label). Microsoft's DnsClient policy documentation notes that devolution is not used when a global suffix search list is configured by Group Policy, and that unqualified multi-label names (server.corp) are first tried as-is and then with suffixes.
Practical consequences
- A non-domain laptop without suffix cannot resolve
fs01— users need FQDNs or a connection suffix from DHCP. - VPN adapters often add their own suffix; the order of adapters (interface metric) decides which suffix is tried first.
- A primary suffix that differs from the AD domain (disjoint namespace) needs the
msDS-AllowedDNSSuffixesattribute on the domain, otherwise SPN and registration problems follow.
Registration check
ipconfig /registerdns
Resolve-DnsName pc042.corp.example.com -Server dc01
If registration fails, the System log shows DNS Client Events (IDs around 8015–8020) with the zone and server that refused the update.
*The DNS suffix inspection commands above are illustrative examples, not captured from a lab or production system.*
Commands
Get-DnsClient | Select InterfaceAlias,ConnectionSpecificSuffix,RegisterThisConnectionsAddress
Set-DnsClient -InterfaceAlias Ethernet -ConnectionSpecificSuffix corp.local
Documented example, not captured output. The primary DNS suffix comes from the domain membership.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DNS Client → DNS Suffix. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/networking/dns/dns-client-settings · confidence 94%