Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

DNS Search List

Direct answer

The DNS search list (suffix search list) is the list of domains Windows appends to single-label names, such as turning fileserver into fileserver.corp.local. Set it by DHCP, GPO or Set-DnsClientGlobalSetting.

When to use this

Use this when short names resolve to the wrong domain or not at all.

First 30 seconds

1. (Get-DnsClientGlobalSetting).SuffixSearchList.

2. Short name fails → suffix missing.

3. Set via GPO "DNS Suffix Search List" or Set-DnsClientGlobalSetting.

4. Avoid long lists (slow failures).

5. Test Resolve-DnsName shortname.

Operational verification

short name → suffixes appended in order → first answer wins

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services
Scope / prerequisiteUse this when short names resolve to the wrong domain or not at all.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Long search lists causing slow lookups for every failed name.
  • Overlapping internal and public domains.
Evidence references

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.

observation · 1
Key points
  • Suffixes are appended in list order until one resolves.
  • DHCP or GPO usually sets the list.
  • Using the FQDN bypasses the search list.
Key checks
  • Resolve-DnsName <name> — resolve via the Windows resolver
  • Get-DnsClientServerAddress — DNS servers per interface
  • Get-DnsClientCache — resolver cache
  • Get-DnsClientGlobalSetting — suffix search list
  • Clear-DnsClientCache — flush the cache
ReferenceWhy it matters1 section · depth on demand

How it works

When an application looks up a single-label name like fs01, Windows tries it with each suffix in turn: by default the primary suffix, then connection-specific suffixes (and devolution of the primary suffix). If a suffix search list is configured (GPO or Set-DnsClientGlobalSetting), only that list is used, in order. Names with a dot are tried as-is first.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

How a single-label name is expanded

Lookup of fs01 on a client with primary suffix branch.corp.example.com, connection suffix wifi.example.net:

ConfigurationQueries tried, in order
No search list (default)fs01.branch.corp.example.com → fs01.corp.example.com (devolution) → fs01.wifi.example.net
Search list corp.example.com, branch.corp.example.comfs01.corp.example.com → fs01.branch.corp.example.com — nothing else

When a search list is configured by Group Policy, only that list is used and devolution is not performed, as Microsoft's DnsClient policy documentation describes.

Cost of a long list

Every failed name is tried with every suffix, and each attempt can wait for timeouts. With six suffixes and an unreachable DNS server, a single mistyped name can take a minute. Keep the list short and ordered by likelihood.

Configure and inspect

PS C:\> Get-DnsClientGlobalSetting | Select UseSuffixSearchList, SuffixSearchList
PS C:\> Set-DnsClientGlobalSetting -SuffixSearchList @('corp.example.com','branch.corp.example.com')
PS C:\> Resolve-DnsName fs01 -Verbose

Set-DnsClientGlobalSetting cannot override a list that Group Policy already deploys; change the GPO instead (*Computer Configuration → Administrative Templates → Network → DNS Client → DNS Suffix Search List*).

Multi-label names

server.lab is first tried as-is. If that fails, Windows appends suffixes only when Allow DNS Suffix Appending to Unqualified Multi-Label Name Queries allows it. With a public TLD that happens to match (.lab, .dev), the as-is query may leave the network and leak internal names.

Security notes

  • Do not include public domains you do not control: a user typing intranet could resolve to an outside host.
  • Avoid suffixes that end in short internal names that later become public TLDs — move to a registered domain (for example corp.example.com).

*The DNS suffix search list configuration above are illustrative examples, not captured from a lab or production system.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in DNS Client → DNS Search List. 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%
Confirmation

Confirm action

Continue?