LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Retro

ARPA Internet Host Names Sat in One File, HOSTS.TXT, and by 1983 It Was Near Its Limit

Paul Mockapetris proposed splitting the job among many name servers, with local caching and a tolerance for old answers while updates spread.

A brick-built Chris strains to hold up a teetering tower of blank tiles while small branching brick trees stand steady behind him.
Illustration: LockerGnome

Paul Mockapetris of ISI had a list problem. Hosts on the ARPA Internet were registered with the Network Information Center, or NIC, and listed in a global table. You could get it as a file called HOSTS.TXT on a host named SRI-NIC (no pressure, SRI-NIC).

The table’s job was easy to picture. People and programs had host names such as USC-ISIF, and the network had addresses such as 10.2.0.52. Something had to match one to the other.

One central list can do that. It also has to absorb every change, and the network was large and likely to grow much larger. The memo put it plainly: “What is needed is a distributed database that performs the same function, and hence avoids the problems caused by a centralized database.”

Mail had it worse

Host names were the tidy part. Mail implementers had already recognized that centralizing every mailbox name was impossible, so a large and irregular set of workarounds had piled up.

Some made the sender include routes and forwarding hosts in the destination address. That meant knowing several address formats, what various forwarders could do and, in the memo’s words, “ad hoc tricks for passing address specifications through intermediaries.” Sending a message could require knowing the way there (bring a map).

So one rule in the proposal was that a name should stay a name. Addresses and routes did not belong inside it.

Everybody gets a zone

The design had three parts. A tree-shaped name space organized the names. Name servers held information about parts of that tree. Resolvers, typically system routines, asked the servers questions on behalf of user programs.

A name server had complete information for certain parts of the tree, called zones, and was the authority for them. For other parts, it could hold pointers to servers that would lead to an answer. Nobody needed the whole forest to find one leaf.

The upkeep moved outward too. Local system administrators would update plain text master files, which a local name server would read. An organization that didn’t want to run a server could still edit its file locally, send it to another host by FTP, mail or another method, and arrange to have it loaded there. The text editor kept its job.

Responsible organizations were also expected to provide redundant name servers, on their own hosts or on hosts they arranged to use.

Old answers were allowed

The boldest choice concerned freshness. “Access to information is more critical than instantaneous updates or guarantees of consistency,” the memo said.

Copies would carry timeouts. Whoever distributed the data set the value, and whoever received it had to refresh it. Updates would percolate through the system instead of landing everywhere at once. If a network or host failure blocked an update, the usual move was “to believe old information while continuing efforts to update it.”

Owners still had a brake. In special cases they could specify very short intervals or prohibit copies altogether.

The bill for a local copy

The pattern is likely to keep showing up wherever one team owns a list that everyone else changes. The queue grows, people keep private copies, and soon the office has several official truths (all lovingly maintained).

Splitting ownership can shrink that queue. It also hands each owner a server, a file or a refresh rule to look after. A forecast with reasonable confidence: the hard arguments in shared infrastructure will keep centering on who may change a record and how long everyone else may remember the old one.

Mockapetris’s memo left the formats and timeout details to a companion, RFC 883. The concepts document had a narrower job: persuade a network to stop trying to keep one complete, consistent copy of everything. Its warning was that such approaches “will become more and more expensive and difficult, and hence should be avoided.”

One list had reached its listing limit.

More Retro

Every Retro story →