Pcornel
Windows · DNS Server

Stub Zones

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

Back to the Topic

Answer

A stub zone holds a minimal set of records needed to identify authoritative servers for another zone, rather than a full copy of that zone.

Remember

  • Stub zone ≠ secondary zone; it does not contain the complete zone database.
  • A stub can help locate authoritative servers but those servers still must answer the final query.
  • Stale NS/glue in the stub can misdirect resolution.
  • Stub-zone health does not prove the remote authoritative zone itself is healthy.

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

stub zone → NS records → queries sent to those NS

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 → Stub Zones reference map

BoundaryMeaningEvidence limit
Stub dataSOA/NS/glue subsetNo target RR proof
Authority discoveryRemote servers identifiedNo reachability proof
Remote queryAuthority answers target RRNo client cache proof

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

Confirmation

Confirm action

Continue?