RFC 882: DNS: Organising names hierarchically

Summary

In November 1983, Paul Mockapetris of the Information Sciences Institute introduced the concept of domain names in RFC 882, together with the companion document RFC 883 on implementation. Instead of a central host table, he proposed a distributed database with hierarchical names that would describe host addresses and mail destinations alike. Four years and several revisions later, RFC 1034 and RFC 1035 replaced the design, while the basic idea remained unchanged.

Two problems, one solution

RFC 882 starts with the pains of 1983: all hosts of the ARPA Internet were listed in a global table, the file HOSTS.TXT on the SRI-NIC host, and the size and update frequency of this table were near the limit of manageability. The situation was even worse for email, where users had to know several address formats, forwarding hosts and tricks to get a message to its destination.

The answer was a uniform name space, distributed across many servers that are each responsible for one part. Resolvers query name servers and follow referrals to other servers until they have the answer. Classes separate different networks within the same name space, such as the ARPA Internet and the Computer Science Network.

What changed by 1987

Many terms from RFC 882 survived: zones, resolvers, resource records, wildcards such as *.ARPA. Other details changed by RFC 1034 and 1035, such as the mail types later replaced by MX. In between, RFC 973 of January 1986 collected Mockapetris’s changes and observations from operation.

The first top-level domains were defined by RFC 920 in October 1984. The move from HOSTS.TXT to DNS dragged on into the late 1980s.

Ideas

  • A central host table does not scale with a growing network.
  • Hierarchical names distribute responsibility across many places.
  • Resolvers follow referrals from server to server.
  • The same name space should describe hosts and mail destinations.
  • Classes separate different networks within the same name space.
  • Wildcards such as *.ARPA cover entire subtrees.

Insights

  • The first design of a large system need not be perfect if its basic idea holds; the details can be settled in revisions.
  • Email was a main driver for DNS: a uniform name for mailboxes was as urgent as host addresses.

Facts

  • RFC 882 and RFC 883 appeared in November 1983.
  • RFC 1034 and RFC 1035 replaced both in November 1987.
  • RFC 973 of January 1986 collected changes from early operation.
  • The host table was the file HOSTS.TXT on the SRI-NIC host.

References

Remarks

  • As example addresses, RFC 882 uses names such as USC-ISIF and addresses from network 10, which was the ARPANET at the time and today belongs to the private range under RFC 1918.

Recommendations

  • Read RFC 882 as a historical introduction but use RFC 1034 and 1035 for technical questions.
  • Apply the reasons against HOSTS.TXT to your own central lists, such as maintained hosts files in larger networks.
  • Organise internal name resolution through your own DNS service rather than distributed hosts entries.

Read the RFC at the RFC Editor

Search the Web Archive

Found a mistake or have something to add? Get in touch.