What Is an SOA Record? How to Find a Stale DNS Zone
Read all seven fields in a DNS SOA record, compare serials on authoritative servers, and separate stale zone data from cached negative answers.
- dns
- soa
- troubleshooting
- guide
The Start of Authority, or SOA, record describes a DNS zone and supplies the values secondary servers use to compare and refresh copies. If a DNS change appears on only some authoritative servers, look up the SOA on each one before waiting for caches.
Read the seven fields
An SOA answer for your test zone might contain ns1.example.com. hostmaster.example.com. 2026112402 3600 600 604800 300. The fields below begin after the record type. The displayed record TTL, if shown, sits before the record type and is a different value.
| Field | Example | Meaning |
|---|---|---|
| MNAME | ns1.example.com. | The server named as the zone's original or primary source. |
| RNAME | hostmaster.example.com. | A mailbox encoded as a DNS name, here hostmaster@example.com. |
| SERIAL | 2026112402 | A version number compared using DNS serial arithmetic. |
| REFRESH | 3600 | Time in seconds before the next normal refresh check. |
| RETRY | 600 | Time in seconds to wait after a failed refresh attempt. |
| EXPIRE | 604800 | Upper limit in seconds before a secondary stops treating an unrefreshed copy as authoritative. |
| MINIMUM | 300 | One input to the lifetime of a cached negative answer. |
Use RFC 1035's field definitions together with RFC 2308's update to MINIMUM. A negative DNS response can carry an SOA with a TTL limited by the smaller of the SOA record's TTL and the SOA MINIMUM. That value does not set the lifespan of every positive record.
Compare delegated nameservers directly
Get the actual nameserver list for your zone from the parent delegation. Query each server for the same owner and type with, for example, dig @ns1.example.com example.com SOA +norecurse. Check the response's authoritative flag and repeat for the affected record, such as dig @ns1.example.com www.example.com A +norecurse. Use your own names and retain the output with timestamps.
If one delegated server returns serial 2026112401 and another returns 2026112402, and only the later version contains the change, inspect the secondary's refresh or provider synchronization. A later-looking decimal number is a useful clue for a date-based scheme, but comparisons near wraparound follow RFC 1982. A matching serial also does not prove matching record contents. Compare the affected record on both servers.
Determine whether any cache is still involved
If all authoritative servers return the new data but a recursive resolver returns an older answer, capture that resolver's TTL and compare another resolver. If the old answer was NXDOMAIN or a record-type miss, inspect the negative response, including its SOA. The TTL guide explains how to tell an old cache entry from a change that never reached the authoritative servers.
