Before DNS, there was a file. The Network Information Center kept HOSTS.TXT, a list of host names and their addresses. Machines fetched a fresh copy and looked up names locally. A new computer meant a new line in the file, then another round of distribution. RFC 1034 later described it as a single file at the NIC that was “FTP’ed by all hosts.”[1]
RFC 1034, Domain names: concepts and facilitiesThe NIC's single HOSTS.TXT file and the cost of distributing it
That sentence sounds almost quaint until you picture the traffic. Every host needed the list. As the network gained hosts, the list grew, and so did the number of machines asking for it. The NIC was doing clerical work for an expanding network.
A name had to wait for a clerk
An organization could run its own computers, but it could not publish a name by changing only its own records. The NIC had to update the shared table. RFC 1034 says local networks were already administering their own names and addresses while waiting for the central file to catch up.[1]
RFC 1034, Domain names: concepts and facilitiesThe NIC's single HOSTS.TXT file and the cost of distributing it The awkwardness was social as much as technical: one desk was responsible for everyone else’s address book.
The 1983 domain names plan proposed a transition through domain-style names and host tables before the distributed system took over.[2]
RFC 881, Domain names plan and scheduleThe 1983 plan for moving host names into domains DNS did not arrive as a clean overnight replacement. For a while, names lived in both worlds.
Imagine changing your office address and waiting for every other office to download a new phone book.
The useful part that survived
The hosts file never really went away. Your computer still has one. It is handy for local overrides and testing because a line in that file can answer before a DNS lookup begins. What disappeared was the idea that one global file could keep the whole network current.
Look at a tiny hosts file
127.0.0.1 localhost
192.0.2.42 workshop.exampleThe second line is a local illustration using an address reserved for documentation. It does not publish workshop.example to anyone else’s machine.
DNS moved the responsibility outward. Each domain could maintain its own part of the tree, and a resolver could ask only the people responsible for the name it needed. That is the quiet change behind the familiar act of typing a URL.