Pcornel
Windows · DNS Server

Primary Zones

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

Back to the Topic

Answer

A primary zone is a writable authoritative zone copy. In Windows DNS, primary data can be file-backed or stored in AD DS when the zone is AD-integrated.

Remember

  • Primary means writable authority, not necessarily a single server when the zone is AD-integrated.
  • A standard file-backed primary has one writable primary copy; secondaries are read-only transfers.
  • AD-integrated zones use AD replication and allow writable copies on eligible DNS/DC replicas.
  • Writable ≠ healthy replication or correct 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

primary zone = writable copy

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

BoundaryMeaningEvidence limit
Standard primarySingle writable file-backed sourceTransfer health separate
AD-integrated primaryWritable AD-backed copies on eligible DC/DNS serversAD convergence separate
SOAAuthority metadataDoes not prove every RR correct

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

Confirmation

Confirm action

Continue?