Use it when names fail or resolve unexpectedly while IP connectivity may still work.
DNS Problems
DNS Problems troubleshoots the Windows client resolution path from configured resolver and suffix/search behavior through query/response, cache and application consumption.
1. Resolve-DnsName <name>; with -Server.
2. DNS servers configured.
3. Cache/hosts.
4. Suffixes.
5. Server-side zone/record.
client → server → zone/forwarder → answer
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Get-DnsClientServerAddressVerification & 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 Troubleshooting path Verify boundary
Application query → Windows resolver policy/cache → configured DNS server → recursive/authoritative path → response → application
Step 2 Commands Verify boundary
Get-DnsClientServerAddress
Resolve-DnsName dc01.corp.local
Clear-DnsClientCache
nltest /dsgetdc:corp.local
Step 3 Common mistakes Narrow the fault
- Public DNS on domain members.
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.
- Successful IP connectivity does not prove DNS; one correct nslookup/query does not prove the application used the same name, resolver path, record type or cache state.
- Keep the symptom, observed state and inferred cause as separate statements.
- Prefer evidence from the first failed boundary over broad configuration changes.
- A successful local check does not automatically prove the next dependency or end-to-end workload.
Get-WinEvent -FilterHashtable @{LogName='System';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— system errors last 24hGet-WinEvent -FilterHashtable @{LogName='Application';Level=1,2;StartTime=(Get-Date).AddHours(-24)}— application errorsGet-ComputerInfo -Property OsName,OsBuildNumber,CsDomain— system contextGet-HotFix | Sort InstalledOn -Desc | Select -First 5— recent updates
ReferenceImportant terms & boundaries2 sections · depth on demand
What the evidence shows
Successful IP connectivity does not show DNS; one correct nslookup/query does not show the application used the same name, resolver path, record type or cache state.
Method
DNS problems on Windows clients and servers:
| Symptom | Check |
|---|---|
| Can't find DC ("domain could not be contacted") | Client DNS points to non-AD DNS; nltest /dsgetdc |
| Old IP returned | Cache/TTL, stale record (scavenging), hosts file |
| Intermittent failures | One of the DNS servers down/slow (event 1014 on client) |
| External names fail on DCs | Forwarders/root hints, firewall UDP/TCP 53 |
| SRV records missing | Netlogon registration: nltest /dsregdns, dcdiag /test:dns |
Resolve-DnsName _ldap._tcp.dc._msdcs.corp.example.com -Type SRV
Get-WinEvent -FilterHashtable @{LogName='System';Id=1014} -MaxEvents 10
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 Windows Troubleshooting → DNS Problems. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/troubleshoot/windows/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Windows Troubleshooting → DNS Problems reference map
Fast troubleshooting boundaries for Windows Troubleshooting → DNS Problems.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Symptom | What the user/workload reports | Starting point, not root cause |
| Local state | What Windows reports at this boundary | Does not prove adjacent dependency |
| Correlated evidence | Multiple sources agree in one timeline | Strengthens hypothesis, not automatic causation |
| Verification | Original test succeeds after controlled change | Required to close the troubleshooting loop |