Windows · DNS Server
Primary Zones
Cheat sheet · https://pcornel.dk/topic.php?topic=3292
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 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
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Standard primary | Single writable file-backed source | Transfer health separate |
| AD-integrated primary | Writable AD-backed copies on eligible DC/DNS servers | AD convergence separate |
| SOA | Authority metadata | Does 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