Pcornel
Windows

DNS Server

Cheat sheet · https://pcornel.dk/topic.php?topic=375

Back to the Topic

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 server
  • Get-DnsServerResourceRecord -ZoneName <zone> -Name <name> — records
  • Resolve-DnsName <name> -Server <dns> — query the server
  • Get-DnsServerForwarder — forwarders
  • dcdiag /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

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?Get-DnsServerZoneremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcomeapplication success

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=375

Confirmation

Confirm action

Continue?