Every DNS zone begins with one record that most people never read: the SOA, or Start of Authority. It looks like a line of cryptic numbers, and on modern managed DNS many of those numbers barely matter. Yet one of them quietly controls how long "this record does not exist" is remembered around the internet, and another tells you at a glance whether a zone was actually updated.
This guide walks through each SOA field, explains how primary and secondary nameservers use them, and shows how to read an SOA to debug real problems, such as a new subdomain that stays invisible or secondaries serving stale data.
Anatomy of an SOA record
An SOA record in zone-file form looks like this:
example.com. 3600 IN SOA ns1.dnshost.example. hostmaster.example.com. (
2026092901 ; serial
7200 ; refresh
3600 ; retry
1209600 ; expire
3600 ) ; minimum / negative TTL
| Field | Meaning |
|---|---|
| MNAME | The primary (master) nameserver for the zone. Many providers put any one of their servers here. |
| RNAME | The administrator's email address, with the first . standing for @. hostmaster.example.com means hostmaster@example.com. |
| Serial | A version number for the zone. It must increase with every change. |
| Refresh | How often secondary servers check the primary's serial for changes. |
| Retry | How long a secondary waits before trying again after a failed refresh. |
| Expire | How long a secondary keeps answering without reaching the primary. After this, it stops. |
| Minimum | Today this is the negative-caching TTL: how long resolvers remember that a name or record does not exist (RFC 2308). |
How secondaries use the timers
In a classic setup, you edit the zone on the primary and secondaries copy it by zone transfer. Every refresh interval, a secondary asks the primary for the SOA. If the serial is higher than its own, it transfers the new zone. If the primary cannot be reached, the secondary tries again every retry interval. If it still cannot reach the primary after expire, it assumes its copy is too old to trust and stops answering. Many primaries also send a NOTIFY message on each change so secondaries update immediately rather than waiting for refresh.
RFC 1912 gives rough guidance: refresh between 20 minutes and 12 hours, expire around two to four weeks, and retry shorter than refresh. Large anycast providers replicate zones with their own systems, so these timers often mean little there, and unusual values are harmless.
Serial number formats
The only rule is that the serial must increase. Three conventions are common:
- YYYYMMDDnn:
2026092901means the first change on 29 September 2026. Readable, but limited to 100 changes per day. - Unix timestamp: seconds since 1970, used by many DNS providers that update zones automatically.
- Plain counter: 1, 2, 3 and so on.
Read an SOA record with our tool
The SOA Lookup fetches the record and explains each value.
- Open the SOA Lookup and enter a domain such as
example.com. - Choose the resolver if you want, then click Get SOA record.
- The raw record is shown at the top, with its TTL. Copy record copies it in zone-file format.
- If you entered a name that is not a zone apex, such as
www.example.com, a note explains that the SOA of the enclosing zone is shown. - Read the findings. The tool checks that retry is shorter than refresh, that expire comfortably exceeds refresh plus retry, and warns if the negative TTL is above one day.
- The table lists Field, Value, Meaning and an OK or Unusual badge. For the serial, the tool detects whether it looks like a date, a Unix timestamp or a counter and decodes it.
Command-line equivalents
dig +short SOA example.com
nslookup -type=soa example.com
Resolve-DnsName example.com -Type SOA
To compare serials across all authoritative servers, which is the fastest way to spot a secondary that stopped updating, use:
dig +nssearch example.com
It queries each nameserver in the NS set and prints the serial each one returns. Find the full list first with the NS Lookup.
Using the SOA to debug problems
A new record stays "not found"
If someone looked up new.example.com before you created it, resolvers cached the negative answer. The time they keep it is the lower of the SOA's minimum field and the SOA record's own TTL. A negative TTL of a day means a record added today may stay invisible to some users until tomorrow. Keep it between a few minutes and a few hours if you frequently add names. Check what public resolvers see with the DNS Propagation Checker.
Secondaries serve old data
Compare the serial on each nameserver. If one lags behind, either the serial was not increased after an edit (so secondaries saw no reason to transfer) or zone transfer from the primary is failing. With hand-edited BIND zones, forgetting to bump the serial is the classic cause.
The serial went backwards
If a serial is accidentally lowered, secondaries ignore the new zone because they think they already have a newer one. The fix depends on your software; RFC 1982 describes serial arithmetic that allows wrapping forward to a lower value in controlled steps. Many operators instead reset secondaries manually.
Unexpected admin address
The RNAME field is sometimes the only public contact for a zone's DNS operator. If it shows an old employee's address, update it at your provider if the setting is exposed. For registration contact details, use the WHOIS Lookup instead.
Is the zone signed?
The SOA is also covered by DNSSEC signatures when a zone is signed. Check the chain of trust with the DNSSEC Checker.
Frequently asked questions
What does the SOA minimum field mean today?
It sets how long resolvers cache negative answers, meaning "this name or record type does not exist". Resolvers use the lower of this value and the SOA record's TTL.
Do I need to change the serial number myself?
On managed DNS platforms the provider updates it automatically. With hand-edited zone files on your own servers, you must increase it every time you change the zone.
Why does the admin email have no @ sign?
In the SOA format the first dot in RNAME stands for the @ sign. A dot that is part of the mailbox name is escaped with a backslash.
Are unusual refresh or expire values a problem?
Only for classic primary and secondary setups using zone transfers. Anycast DNS providers synchronise their servers differently, so these timers rarely matter there.
Does every subdomain have its own SOA?
No. Only zone apexes have an SOA. Ordinary subdomains share the SOA of the zone they belong to, unless they are separately delegated.