How does a second keeper stay up to date?
10Edit a maintained page, move the clock, break a refresh or copy, and see when the second keeper must stop answering.
At time zero the second keeper has a complete copy of revision 41. Later edits and outages happen at the editing keeper.
Two keepers begin with the same maintained page
Initial complete load · time 0
www.example.org.192.0.2.20Part of the complete maintained zonewww.example.org.192.0.2.20Part of the complete maintained zoneBoth hold authoritative zone data. These are not ordinary lookup caches.
What happens if you change this?
Make one change, then watch again. Restart restores the original example.
Both primary and secondary hold authoritative data, unlike an ordinary resolver cache.
Key idea: A maintained zone copy has its own check, retry and zone expiry clocks. It is not an ordinary saved lookup answer.
Terms
- Primary server
- The selected keeper where this zone’s edits are coordinated.
- Secondary server
- Another keeper maintaining a complete authoritative copy of the zone.
- SOA serial
- The zone revision number used to compare copies.
- SOA REFRESH
- The interval before the next normal check.
- SOA RETRY
- The interval before retrying failed refresh work.
- SOA EXPIRE
- The maximum interval without successful refresh before this copy loses authority.
- AXFR
- The DNS operation used here to copy an entire selected zone.
- DNS NOTIFY
- A later extension can nudge a copy keeper to check for changes; it is not enabled here.
- IXFR
- A later extension can transfer changes instead of always copying the entire zone; it is not enabled here.
Rules & examples
A maintained zone copy has check, retry and zone expiry clocks separate from ordinary cached-answer lifetimes.
These reference examples may differ from the selected experiment.
- The SOA serial identifies a zone revision.
- Secondaries poll according to SOA refresh and retry timing.
- After the SOA expiry interval without successful refresh, a secondary must stop serving the stale zone as authoritative.
The original transfer model copies a zone using AXFR. Later RFCs add mechanisms such as NOTIFY and incremental transfer; those are extensions.
All selected times are seconds: SOA REFRESH 10, SOA RETRY 5, SOA EXPIRE 30; example record TTL 300 is separate. Time zero is a successful complete load of serial 41. The primary then stays unchanged, advances to 42, becomes unreachable, or supplies an incomplete transfer. Checks and transfers are treated as instantaneous outcomes at scheduled times, with fixed settings and one selected primary server. Equal SOA serial renews the successful refresh time; a newer serial needs a complete transfer before installing and renewing. Failed or incomplete work retries and does not renew it. At elapsed time equal to the SOA EXPIRE value since the last successful refresh, the model discards authoritative zone use; its response code is not prescribed. The existing RFC1982 helper compares serials, including wraparound in tests. The six-record fixture includes SOA, two NS and three A records. A successful schematic AXFR begins and ends with the same SOA and includes the selected zone contents; duplicate non-SOA records are ignored. This is not a wire parser, TCP engine, authorization or integrity validator. NOTIFY, incremental transfer, multiple-master recovery, persistent failure after zone expiry, DNSSEC and resolver-cache behavior are outside this experiment. RFC5936 updates the detailed AXFR rules.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.