Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DNS SOA Field Reference

Direct answer

Every zone has one SOA record at its top: the primary server, the responsible person, the zone's serial number, the timers secondary servers follow, and how long "no such name" answers may be cached.

When to use this

Use it when secondary servers serve old data, or when a newly created name is still reported as non-existent.

First 30 seconds

1. dig <domain> +nssearch — do all servers show the same serial?

2. One is lower → it has not transferred the zone: serial not raised, or the transfer (TCP 53) is blocked.

3. New name "does not exist" → negative answer cached for at most the minimum value.

4. A secondary no longer answers → it lost contact with the primary beyond the expire time.

Operational verification

zone changed on the primary → serial raised → secondaries notified or refresh → zone transferred over TCP 53 → all servers answer with the same serial

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Key commanddig example.com SOA
Scope / prerequisiteUse it when secondary servers serve old data, or when a newly created name is still reported as non-existent.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational verification Verify boundary
dig example.com SOA
dig example.com SOA +multiline @ns1.example.com
dig example.com +nssearch
dig example.com NS +short

+multiline prints the SOA with each field labelled. +nssearch asks every server of the zone for its SOA and prints them side by side — the quickest way to see whether all of them have the same serial. The NS query lists the servers that should be compared.

Known-good: every server of the zone returns the same serial, and it is the one expected after the last change.

Step 2 Failure isolation workflow Narrow the fault
  • One server answers with old data. Its serial is lower: it has not transferred the zone. The serial was not raised, the NOTIFY did not arrive, or the transfer is blocked by an access list or firewall (TCP port 53).
  • Answers differ depending on which server is asked. The same cause; compare serials with +nssearch.
  • A secondary stopped answering for the zone. It lost contact with the primary for longer than the expire time.
  • A serial was set far too high. Secondaries ignore every later, lower value until the numbering is repaired deliberately.
  • A new name is still reported as non-existent. A negative answer is cached; it lasts at most the minimum value.
  • Mail to the zone's contact bounces. The responsible-person field is written with an @, or was never a working address.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

A secondary copies the zone only when the primary's serial is higher than its own — changing records without raising the serial leaves secondaries stale. The last field, minimum, is how long negative answers are cached.

Key checks
  • dig <domain> SOA +multiline — each field labelled.
  • dig <domain> +nssearch — the SOA from every server of the zone, side by side.
  • dig <domain> NS +short — the servers that should agree.
  • dig <domain> SOA @<server> — one server's serial.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Every DNS zone has exactly one SOA (start of authority) record at its top. It names the primary server and the responsible person, carries the zone's version number, and sets the timers that secondary servers follow — plus the time for which "no such name" answers may be cached.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Two everyday problems trace back to this record. Secondary servers that keep serving old data usually do so because the serial number was not increased after a change. And a newly created name that still "does not exist" for some users is explained by the last field, which governs how long that negative answer is remembered.

ReferenceHow it works1 section · depth on demand

How it works

example.com. 3600 IN SOA ns1.example.com. hostmaster.example.com. (
                2026111501 ; serial
                7200       ; refresh
                900        ; retry
                1209600    ; expire
                3600 )     ; minimum
FieldMeaning
Primary server (MNAME)The server where the zone is edited
Responsible person (RNAME)An e-mail address with the @ written as a dot: hostmaster.example.com. is hostmaster@example.com
SerialThe version number of the zone
RefreshHow often a secondary asks the primary whether the serial has changed
RetryHow soon it tries again if that check fails
ExpireHow long a secondary goes on answering without contact with the primary; after that it stops serving the zone
MinimumHow long resolvers may cache a negative answer for this zone

The serial. A secondary copies the zone only when the primary's serial is higher than its own. Changing records without raising the serial leaves the secondaries on the old version indefinitely. A common convention is the date followed by a two-digit counter, as above; DNS management systems normally handle it automatically. A serial that has been set too high by mistake cannot simply be lowered — secondaries will consider the lower value older.

Refresh, retry, expire. Most primaries also send a NOTIFY to their secondaries the moment the zone changes, so the refresh timer is only a fallback. Expire should be long — weeks — so that an outage of the primary does not take the whole zone down.

Minimum and negative answers. When a server answers that a name does not exist, it includes the SOA record. Resolvers cache that negative answer for the lower of the SOA record's own TTL and the minimum field. A name queried just before it was created therefore stays "non-existent" in those resolvers for that long.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

The SOA record field by field

Every zone has exactly one SOA record at its apex, and its fields control replication and negative caching. RFC 1035 defines them:

  • MNAME: the primary name server.
  • RNAME: the responsible person's mailbox, with the first dot standing for @.
  • SERIAL: a 32-bit version number that uses sequence-space arithmetic.
  • REFRESH: how often secondaries check for changes.
  • RETRY: how long to wait after a failed check.
  • EXPIRE: how long a secondary keeps answering without contact with the primary.
  • MINIMUM: originally a minimum TTL. RFC 2308 redefined it as the TTL for negative answers.

Typical values

FieldExampleNotes
SERIAL2026112801Date plus counter (YYYYMMDDnn) is common
REFRESH7200 (2 h)With NOTIFY, secondaries update faster anyway
RETRY900 (15 min)Lower than REFRESH
EXPIRE1209600 (2 weeks)Long enough to survive a primary outage
MINIMUM3600 (1 h)Negative-cache TTL; RFC 2308 suggests 1–3 hours works well

Serial number rules

SituationEffect
Serial increasedSecondaries transfer the zone
Serial unchanged after an editSecondaries never see the change
Serial decreasedSecondaries ignore the update until sequence arithmetic wraps
host$ dig example.net SOA +noall +answer
example.net. 3600 IN SOA ns1.example.net. hostmaster.example.net. 2026112801 7200 900 1209600 3600
host$ for ns in $(dig example.net NS +short); do echo -n "$ns "; dig @$ns example.net SOA +short | awk '{print $3}'; done
ns1.example.net. 2026112801
ns2.example.net. 2026112801
host$ dig @ns2.example.net example.net SOA +norecurse +noall +comments | grep flags

Checking replication

Comparing the serial on every authoritative server shows at once whether all of them serve the same version of the zone. A secondary with an older serial is behind. Check the zone transfers (AXFR/IXFR), the NOTIFY messages and the ACLs between the servers.

RNAME

hostmaster.example.net. means hostmaster@example.net. A dot in the local part must be escaped, for example john\.smith.example.net..

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1034

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → DNS SOA Field Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1034.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
soa serialdns refresh retry expirenegative ttl
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

DNS SOA Fields

Serial/Refresh/Retry/Expire/Minimum.

30-second lookup

  • Open Packet Field Explorer for field-level metadata.
  • Use Packet Decoders for bit/flag values where relevant.
  • Use Paste Output / Structured Parser for CLI evidence.
  • Use Packet Filters to prove the wire boundary.

Evidence rule

A decoded field proves what is present in that packet/output at that moment. Continue through the verification chain before concluding end-to-end behavior.

Confirmation

Confirm action

Continue?