Summary

  • RFC 6891, April 2013, defines EDNS(0), because a DNS message over UDP without extensions is capped at "512 bytes" — too small for "several IPv6 addresses or DNS Security (DNSSEC) signatures".
  • It calls EDNS "a hop-by-hop extension to DNS", negotiated between each pair of hosts, and requires extended agents to "fall back gracefully to unextended DNS".

A protocol that could not say what it could do

The memo's diagnosis is unusually blunt: RFC 1035 "does not define any way for implementations to advertise their capabilities to any of the other actors they interact with".

Read that again. The system that resolves every name on the internet had no vocabulary for "I can handle a bigger answer than that". A resolver that could had no way to say so. A server that could send one had no way to know whether it would be understood. Everyone shouted into the same 512-byte room and hoped for the best.

EDNS fixes that, and the fix is bigger than message size. It is a capability channel: a way for two machines to establish, in a single exchange, what each of them is able to do.

One hop at a time

EDNS does not solve this end to end. It is negotiated between each pair: stub to recursive, recursive to authoritative, and every pair separately.

That is exactly why the internet could adopt it at all. A resolver that speaks EDNS to its upstream does not need the authoritative server at the far end to have upgraded. Each link decides for itself, and the extension spreads edge by edge rather than all at once. No flag day, no global cutover, no committee declaring the network modern by decree.

The price is graceful degradation

Because the negotiation is local, an extended agent will meet unextended ones. The memo is explicit: they "will not know how to interpret the protocol extensions", so extended implementations must be "prepared for handling the interactions with unextended clients ... and fall back gracefully".

Every implementation therefore carries two behaviours, and every bug report has to say which one was in play. The old server is not in violation. It is simply in an older compatibility set, and the network routes around it.

A version number that reports itself

The version field is where the design gets clever. If a request's version is higher than the responder's, the responder must answer with RCODE=BADVERS, and every response should carry the responder's own highest level.

So the requestor learns what the other side supports "as a side effect of every response, including error responses". Version discovery is not a separate exchange, not a handshake of its own, not a working group. It is a property of answering at all.

The extension that lost

The memo also closes a story. RFC 2671 had allowed new label types, and the only one ever proposed — the Bit-String or Binary Label — turned out to be, in the memo's words, "extremely difficult" to introduce. RFC 6891 obsoletes that memo, deprecates the label type, and keeps the mechanism defined.

A document that records a failed idea is more useful than one that quietly drops it. The extended label mechanism remains available, with a note that anyone using it should first weigh the deployment hindrances — which is what a scar looks like in a specification.

What this says about changing a protocol

DNS is one of the most conservative protocols in the stack, and EDNS is how it grows: a per-hop agreement, a graceful fallback, and a version number that travels in every answer.

That is slower than a flag day and far more likely to arrive. It also means the internet's capability is not one thing. At any moment, some pairs speak the extension and some do not, and the graph of who understands whom is a fact about the network on that day — not a line in a document.

Every coordination layer eventually faces the same temptation: to treat its records as commands. EDNS is the rare one that declined. Publication is not adoption. A specification describes what running code has already agreed to; it does not command it — and the ones that remember this are the ones that last.