DNS Search List
Cheat sheet · https://pcornel.dk/topic.php?topic=3092
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.
Remember
- Suffixes are appended in list order until one resolves.
- DHCP or GPO usually sets the list.
- Using the FQDN bypasses the search list.
First checks
Resolve-DnsName <name>— resolve via the Windows resolverGet-DnsClientServerAddress— DNS servers per interfaceGet-DnsClientCache— resolver cacheGet-DnsClientGlobalSetting— suffix search listClear-DnsClientCache— flush the cache
Verify in this order
short name → suffixes appended in order → first answer wins
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3092