Pcornel
Windows · DNS Server

DNS Server Role

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

Back to the Topic

Answer

The DNS Server role installs the Windows DNS service and management components that let a server host zones, answer authoritative queries and optionally perform recursion.

Remember

  • Installed role ≠ DNS service running.
  • DNS service running ≠ listening on the expected interface/address.
  • Listening ≠ authoritative for a required zone.
  • Role presence says nothing about the correctness of zone data.

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

DNS role → service → zones and cache

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 → DNS Server Role reference map

BoundaryMeaningEvidence limit
InstalledDNS role binaries/capability presentDoes not prove service state
RunningDNS service reports runningDoes not prove port/path or zone
ListeningDNS accepts query trafficDoes not prove correct answer
LoadedRelevant zone is presentDoes not prove record/current data

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

Confirmation

Confirm action

Continue?