To: iana@isi.edu Subject: Request for three DHCP option numbers Date: Mon, 11 Nov 1996 16:35:13 -0500 From: Ralph E. Droms An option for FQDNs in DHCP options Abstract DHCP [DHCP] can be used to automate the process of configuring TCP/IP host computers. However, some of the DHCP options carry IP addresses rather than Fully Qualified Domain Names (FQDN). Use of IP addresses constrains the DHCP client to use the addresses that were in use at the time the client received its configuration information; these addresses may change over time, (e.g., a server may be assigned a new IP address), so that the IP addresses used by the client may become invalid. An alternative to passing IP addresses is to pass FQDNs instead of (numeric) IP addresses. Doing this allows to defer binding between a particular network entity (e.g., a server) and its IP address until run time. As stated in [Carpenter:95], "Deferring the binding avoids the risk of changed mapping between IP addresses and specific network entities (due to changing addressing information). Moreover, reliance on FQDNs (rather than IP addresses) also localizes to the DNS the changes needed to deal with changing addressing information due to renumbering." This document defines a new DHCP option that allows the use of FQDNs instead of IP addresses in DHCP options. Definitions The following defines the format of the FQDN option. +----------+----------+ | Code | Length | +----------+----------+---------+-----------+-------------------- |Subcode |Sublength | FQDN +----------+----------+---------+-----------+-------------------- .................. +----------+----------+---------+-----------+-------------------- |Subcode |Sublength | FQDN +----------+----------+---------+-----------+-------------------- The option consists of a Code and Length fields followed by a variable number of triples. The code, length, subcode, and sublength fields are all one octet long. The FQDN field is of variable length. The code value for this option is 89. The length field specifies the total length (in octets) of all the triples carried in the option. For each subcode carried in the FQDN option, the IP address in the option represented by the subcode is replace by a FQDN. The sublength field shall be set to the length (in octets) of the FQDN carried in the option. The FQDN field carries the FQDN itself.