Summary

  • RFC 2182 (July 1997, Best Current Practice 16) recommended three listed name servers for most organisation-level zones — but only as part of a design in which at least one sat geographically and topologically apart from the rest.
  • An advertised server that resolvers could not reach was worse than useless: it exported probes, retransmissions and timeouts across the Internet without adding a single usable authority.
  • Redundancy was a maintained property, not a purchase. An NS record, an authoritative reply, a matching SOA serial and a completed transfer each proved a different stage — never that every server held identical fresh data or that the service was actually reachable.

Three names on the zone file, one fuse in the basement

Three server names sat in the delegation. On paper, the zone was redundant three times over. In the basement, all three shared one rack, one power strip and one uplink. A single tripped breaker erased the entire "redundant" set at once.

RFC 2182 was written for exactly that gap between the paperwork and the room. Published in July 1997 as Best Current Practice 16, it refused to treat a secondary server as a decorative copy. The memo started from the purpose of multiple authority: zone data should stay widely and reliably available when one server goes dark or drops off the network. A server count meant something only if the servers did not vanish together.

So the document demanded two kinds of separation. Geography guarded against a building, a room, a regional power event. Topology guarded against a link, a routing segment, a single provider's bad day. Distance without path diversity could still leave every server behind one cut; different network names without physical separation could still share one basement. Redundancy lived at the intersection of those facts — never in the larger of their labels.

That is why the memo's famous number came with a condition attached. Two carefully placed servers could sometimes be enough — but one long outage would leave you with one. RFC 2182 recommended three listed servers for most organisation-level zones, at least one well removed from the others, with four or five for zones that demanded more. It never said three NS records certified resilience. It said three records were a starting bid.

An unreachable server makes everyone pay for the failure

From placement, the memo turned to advertisement. An NS name should resolve to addresses reachable from the population that receives the referral. A machine behind a firewall, on an intermittent link, or on an unusable interface did not become a backup just because its address appeared in DNS.

The damage was spread across strangers. A resolver could not know in advance that an address was permanently dead. It sent a query, waited, and often retried, because silence looks exactly like ordinary packet loss. An application or a user could give up before the resolver finished the experiment, turning one unusable address into an apparent failure of the whole zone. Then other resolvers, on other networks, at later times, repeated the same wasted work.

The 1997 text claimed that a lack of result was not cached. Errata 4631, held for a future update, correctly narrows that: after RFC 2308, negative answers may be cached, depending on server behaviour and local configuration. The detail moved; the operating lesson did not. Advertising an unusable authority still exports probing, timeout and retry costs to resolvers that cannot fix your topology.

Reachability also had to survive the forwarding of the referral. The resolver that received NS information might hand it to another resolver, so an address usable only from the first vantage point was not enough. RFC 2182 required every address in the returned address RRset to be suitable; operators could not quietly drop a bad address or slap it with a special low TTL while presenting the rest as normal. Split internal and external worlds needed deliberate views and names — not one misleading global list.

More servers can buy you less certainty

If two could be too few, why not list twenty? RFC 2182 waved off that shortcut too. Each extra server fattened packets, burned a little bandwidth and pushed responses nearer the protocol's size limits. More to the point, every additional secondary added another configuration, another transfer relationship, another software instance and another administrator — another thing that could quietly drift.

The memo drew a line between listed and stealth servers. A site could make several local machines authoritative so its own users kept resolving during an external outage, while advertising only one or two of them to the world. Listing every local copy would invite the entire Internet to probe the whole site the moment its shared link went down. Local utility did not automatically earn a global advertisement.

The result was an optimisation problem, not a quota. Too few independent copies made a brittle service. Too many advertised copies raised the cost of coordination and detection. The right number fell out of the failure domains — and out of your ability to maintain them.

A copy is redundant only while its version stays trustworthy

RFC 2182 closed with a maintenance problem that turns redundancy into a matter of time. A secondary reads the zone's SOA serial to decide whether to update; the primary must bump that serial after every change or batch of changes. Set the serial too high by accident, and simply lowering it back could leave a secondary treating your correction as older data.

The prescribed repair was staged. The operator walked through values that were valid increments under RFC 1982 serial arithmetic, waited for every relevant secondary to adopt each stage, and only then crossed the wraparound boundary to the desired lower number. The memo's strongest instruction was not the example values. It was to verify every stage and assume nothing.

That sequence exposes a stack of distinct receipts. A listed NS record proves a name was advertised. A response proves one server process answered. An SOA query proves the serial one vantage point saw at one moment. A zone transfer proves a transfer procedure finished. None of them, alone, proves the loaded zone is byte-for-byte the intended version, that every serving process switched atomically, that the server sits in an independent failure domain, or that an application can reach its final service.

The security section was just as bounded. The BCP did not claim to add or remove DNS security problems, but it warned that a compromised secondary could, in some circumstances, compromise hosts in the domain. Operational independence buys availability only while the added operator and machine stay trustworthy enough to serve authoritative data.

RFC 2182's lasting contribution was to move DNS redundancy from inventory to evidence. Count the servers — then map what can fail together. Publish the addresses — then test them from the networks that will actually use them. Replicate the zone — then watch the version progression and the serving state after every change. The zone file describes authority. Running systems have to earn availability.

Sources

  1. RFC 2182 — Selection and Operation of Secondary DNS Servers
  2. RFC 2182 information page
  3. RFC 1982 — Serial Number Arithmetic
  4. RFC 2181 — Clarifications to the DNS Specification
  5. RFC 2308 — Negative Caching of DNS Queries
  6. RFC 2182 Errata