DNS Server
Cheat sheet · https://pcornel.dk/topic.php?topic=375
Answer
Windows DNS Server is the Windows Server role that hosts authoritative DNS zones and can perform recursive resolution through cache, forwarders, conditional forwarders and root hints.
Remember
- Role/service state is only the first boundary; it does not prove a zone is loaded or the answer is correct.
- Authoritative data, cached data and forwarded recursive data are different evidence sources.
- Windows DNS commonly integrates with AD DS, but AD-integrated zone replication follows the zone replication scope rather than a standalone zone-transfer model.
- Always test the exact name, record type and client/server path involved.
First checks
Get-DnsServerZone— zones on the serverGet-DnsServerResourceRecord -ZoneName <zone> -Name <name>— recordsResolve-DnsName <name> -Server <dns>— query the serverGet-DnsServerForwarder— forwardersdcdiag /test:dns /v— DC DNS health
Verify in this order
query → authoritative zone or cache → forwarders/root hints → answer
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.
DNS Server evidence chain
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | Get-DnsServerZone | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcome | application success |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=375