Type localhost into a browser and you are talking to your own machine. Write example.com into a manual and you are pointing at a name reserved for exactly that: being an example. Type .onion into an ordinary resolver and it should tell you the name does not exist, because the public DNS has agreed to leave that suffix to Tor.

None of that is a configuration accident. Each behaviour is a promise, written down in February 2013 in a document called RFC 6761, and co-signed — in the only way the Internet ever co-signs anything — by every layer of software that touches a lookup.

RFC 6761, “Special-Use Domain Names”, is the document that built the Internet’s registry of names that must never be sold: localhost, invalid, test, example, .local, and later .onion, home.arpa and .alt. Its argument is deceptively small — a reserved name is a promise made to software — and its method is unusually honest. It names the seven parties who must each keep that promise, and it admits, by structure rather than confession, that not one of them can enforce it alone.

The short version

  • RFC 6761, published in February 2013 on the Standards Track, “describes what it means to say that a Domain Name is reserved for special use, when reserving such a name is appropriate, and the procedure for doing so” — and seeds an IANA registry with the names the Internet had already been quietly treating as untouchable.
  • The procedure is deliberately heavier than the idea: a specification “MUST be published”, and it “MUST state, in each of the seven ‘Domain Name Reservation Considerations’ categories below, what special treatment, if any, is to be applied”.
  • It also supplies the test that kills most candidates: if “in all seven categories the answer is ‘none’, then possibly no special treatment is required” — and the reservation probably is not needed at all.

Why some names have to be untouchable

A protocol sometimes needs a name that is guaranteed to behave a certain way: an address that means this machine, a suffix that never leaves the local link, a string reserved for documentation so that every example in every manual points at the same harmless place. If anybody could register that name, the guarantee evaporates — and so does the protocol’s ability to rely on it.

The IP world solved this problem first, by carving address ranges out of the space and declaring them private, loopback or link-local. RFC 6761 does the same for names, and says so with unusual precision: the rule applies to a subtree, usually identified by suffix, inside which modified name treatment applies.

Two Apple engineers and a peace treaty: how RFC 6761 was written

The document was written by Stuart Cheshire and Marc Krochmal, both of Apple, and published in the same month as its two siblings: RFC 6762 on Multicast DNS and RFC 6763 on DNS-Based Service Discovery. The three arrived together because they had to. Multicast DNS needs .local to mean “this link and nothing beyond it”. Service discovery needs names that never escape the room. And both need the rest of the DNS to agree not to sell those names to somebody else.

Cheshire is the engineer behind Apple’s Bonjour, the author of a 1996 talk called “It’s the Latency, Stupid” that is still the most quoted argument about why networks feel slow, and a man with a long record of insisting that the local link deserves a namespace of its own. .local was the flashpoint: a suffix that looked global, behaved locally, and left the DNS community asking what happens when a name in the root and a name on your printer’s subnet share a spelling.

RFC 6761 was the treaty. .local went into the registry, the root has left it alone ever since, and every layer was told what it owed.

Seven parties, one promise: the Domain Name Reservation Considerations

The heart of the document is a list of seven “Domain Name Reservation Considerations” — the categories any reservation proposal must answer in full:

  • users;
  • application software;
  • name resolution APIs and libraries;
  • caching DNS servers;
  • authoritative DNS servers;
  • DNS server operators;
  • DNS registries and registrars.

Read that list again and notice what it is: a map of the resolution chain, from the human at the keyboard to the registry that hands out the delegation. It is also the reason a reserved name is never a single decision. Each party has its own code, its own release cycle, its own reason to be pragmatic, and its own ability to break the promise without asking anybody’s permission.

Seven parties, one promise, no referee. The distinction Lu Heng draws between a specification and the running code that adopts it applies here with uncomfortable force: the RFC can define the promise, but only a resolver, a browser, a library and a registrar can keep it.

The complaint problem: who do you sue when “invalid” resolves?

The document’s sharpest passage follows a complaint that has no destination. A developer relies on a name that is guaranteed not to exist. Some server answers it anyway. The software breaks. And the question is who the developer complains to: the standards body that reserved the name, the registry that recorded the reservation, the operator of the resolver that ignored it, or the vendor whose application assumed the answer would never come.

There is no institutional answer. That is exactly the argument for having a registry. If nobody knows who owes the guarantee, the guarantee is not worth the paper it is written on.

Anyone who has typed a misspelled hostname into a hotel Wi-Fi browser and landed on an advertisement has met the failure mode in person: a resolver that decided a guaranteed-invalid name was worth money.

Reservation is not an escape from the market

RFC 6761 is careful to say that reserving a name “is not a mechanism for circumventing normal domain name registration processes”. If the existing delegation machinery can produce the behaviour you want, use it. The procedure is deliberately heavier than the idea: a specification “MUST be published”, and it “MUST state, in each of the seven ‘Domain Name Reservation Considerations’ categories below, what special treatment, if any, is to be applied”.

It even supplies the test that kills most candidates. If “in all seven categories the answer is ‘none’, then possibly no special treatment is required” — and the reservation probably is not needed at all.

The friction is the point. Every project with a memorable name would prefer that name reserved; a registry of special names is a registry of exceptions, and every exception is a small piece of the namespace taken off the market.

What is actually in the special-use domain registry

The abstract says it plainly: the document “establishes an IANA registry for such domain names, and seeds it with entries for some of the already established special domain names”. Those initial entries were the names that had already accumulated in practice: localhost, the local-link suffix .local, the documentation names example, example.com, example.net and example.org, the guaranteed-invalid invalid, and the test suffix test.

Later additions took the same route. .onion arrived in 2015 (RFC 7686), giving Tor’s hidden services a name the root would never claim. home.arpa arrived in 2018 (RFC 8375) as the residential gateway’s answer to a home network that needed a name without hijacking one. And .alt arrived in September 2023 (RFC 9476) as a top-level domain set aside for private use — the long-delayed answer to a problem the industry had been living with for a decade.

That problem was name collision. ICANN’s 2012 application round drew bids for strings such as .home and .corp that thousands of enterprise networks already used behind the firewall, and the resulting studies ran for years. .alt is the structural fix: somewhere for the next generation of internal names to live that the root will never claim.

Each registry entry records behaviour for all seven parties, and the differences among them are the interesting part: a name that resolvers must answer locally, a name that must never appear in a query leaving the host, and a name that should simply fail.

The lesson: a namespace is a promise with seven signatories

A namespace is only reliable where it is predictable, and predictability has to be bought from every participant. Reserving a name is how a shared namespace makes room for local meaning without letting the market fill it.

The cost is governance: a procedure, a registry, and seven paragraphs of duty per name. That is what it takes to promise something to software.

Lu Heng puts the underlying rule plainly in his Note on heng.lu: “A proposal is not reality. A recommendation is not reality. A document is not reality.” RFC 6761 seems to have understood this better than most standards. It never claims to have made the promise true. It only wrote down who owes it.

Seven strangers. One promise. No referee. And a name that will never be for sale.

Sources: RFC 6761; RFC 6762; RFC 6763; RFC 7686; RFC 8375; RFC 9476; Lu Heng, Note on heng.lu.