Network Working Group W. Simpson
Request for Comments: 1788 Daydreamer
Category: Experimental April 1995
ICMP Domain Name Messages
Simpson [Page 1]
RFC 1788 ICMP Domain Name April 1995
Table of Contents
1. Introduction
The Domain Name System (DNS) is described in [RFC-1034]. The IN-ADDR domain of the DNS is specified [RFC-1035] to perform address to domain name resolution, and to facilitate queries to locate all gateways (routers) on a particular network in the Internet.
Simpson [Page 2]
RFC 1788 ICMP Domain Name April 1995 1.1. Direct QueryThis document proposes that each unicast address be queried directly for its corresponding Domain Name. This has the advantages that the naming is under the same administration as the address assignment, and the queries are distributed in the same fashion as IP routing. In effect, the routing is used to index the database.
1.2. Multicast
Only a few well-known multicast addresses are populated in the IN- ADDR domain. The ephemeral nature of most multicast addresses is not conducive to cooperative secure updating of the DNS.
1.3. Domain Names
Each Domain Name is expressed as a sequence of labels. Each label is represented as a one octet length field, followed by that number of octets. Since every Domain Name ends with the null label of the root, a Domain Name is terminated by a length byte of zero. The most significant two bits of every length octet must be '00', and the remaining six bits of the length field limit the label to 63 octets or less.
Simpson [Page 3]
RFC 1788 ICMP Domain Name April 1995 1.4. MessagesThe datagram format and basic facilities are already defined for ICMP [RFC-792].
2. Domain Name Request
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Code | Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identifier | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type 37
Simpson [Page 4]
RFC 1788 ICMP Domain Name April 1995 3. Domain Name Reply +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Type | Code | Checksum | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Identifier | Sequence Number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Time-To-Live | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Names ... +-+-+-+-+-+-+-+-Type 38
Simpson [Page 5]
RFC 1788 ICMP Domain Name April 1995
Security Considerations
Simpson [Page 6]
RFC 1788 ICMP Domain Name April 1995
Acknowledgements