rfc-4703

Resolution of Fully Qualified Domain Name (FQDN) Conflicts among Dynamic Host Configuration Protocol (DHCP) Clients

M. Stapp, B. Volz
date2006-10 streamIETF areaint wgdhc statusPROPOSED STANDARD pages13 canonicalhttps://www.rfc-editor.org/rfc/rfc4703 doi10.17487/RFC4703
The Dynamic Host Configuration Protocol (DHCP) provides a mechanism for host configuration that includes dynamic assignment of IP addresses and fully qualified domain names. To maintain accurate name-to-IP-address and IP-address-to-name mappings in the DNS, these dynamically assigned addresses and fully qualified domain names (FQDNs) require updates to the DNS. This document identifies situations in which conflicts in the use of fully qualified domain names may arise among DHCP clients and servers, and it describes a strategy for the use of the DHCID DNS resource record (RR) in resolving those conflicts. [STANDARDS-TRACK]

Extracted elements (19)

design-rationale §4

The DHCID-based conflict detection algorithm only works when all updating entities cooperate; it is advisory only and is not a substitute for DNS security (e.g., TSIG/DNSSEC), nor is it replaced by DNS security.

dns, security

design-rationale §4

The DHCID RR is used to associate client identification information with an FQDN so that cooperating DNS updaters can determine whether their client is currently associated with a particular FQDN. This allows multiple DHCP servers or clients to detect conflicts without requiring direct server-to-server communication.

dns, security

design-rationale §5.4

There is no need to validate the DHCID RR for PTR updates because a DHCP server only assigns an address to a single client at a time, eliminating the ambiguity that exists for A/AAAA RRs.

dns

interoperability-note §5.2

A dual-stack client using older-style DHCPv4 client identifiers (not DUID-based) will only be able to have either its A or AAAA records in DNS under a single FQDN due to DHCID RR conflicts, unless both DHCPv4 and DHCPv6 use the same DUID.

dns, ip, v6ops

normative-requirement §5.3.1 SHOULD NOT

If any status other than YXDOMAIN is returned from the initial DHCID RR request, the updater SHOULD NOT attempt an update.

dns

normative-requirement §5.1 MUST

If the DNS UPDATE response returns FORMERR, SERVFAIL, REFUSED, or NOTIMP, the updater MUST terminate its update attempt.

dns

normative-requirement §5.3 SHOULD

Implementers SHOULD limit the total number of DNS update attempts for a single transaction, as the update sequence described in Section 5.3 can result in loops.

dns

normative-requirement §5.2 MUST

Sites that wish to permit a single FQDN to contain both A and AAAA RRs MUST use DHCPv4 clients and servers that support DUID-based client identifiers so that the same DUID is used in computing the DHCID RR RDATA by both DHCPv4 and DHCPv6.

dns, ip

normative-requirement §5.5 SHOULD

The updater should only remove the DHCID RR if there are no A or AAAA RRs remaining for the client; the second UPDATE request asserts no A RRs and no AAAA RRs as prerequisites before deleting all RRs for the FQDN.

dns

normative-requirement §5.5 SHOULD

When a lease expires or a client issues DHCPRELEASE/Release, the DHCP server SHOULD delete the PTR RR matching the DHCP binding and SHOULD assert in its UPDATE request that the PTR record's PTRDNAME matches the client's FQDN before deleting all RRs for the FQDN.

dns

normative-requirement §5.5 MUST NOT

When removing DNS entries, the updater MUST NOT delete the FQDN if either the specific A/AAAA RR delete or the subsequent full FQDN delete UPDATE request fails, as the client may have moved and updated from another server.

dns

normative-requirement §5.3.3 SHOULD

When the UPDATE response returns NXRRSET (no matching DHCID RR), the updater SHOULD either choose another FQDN and restart the update process or terminate the update with a failure.

dns

protocol-element §5.4

For PTR RR updates, the DHCP server submits a DNS UPDATE that deletes all PTR RRs for the client's assigned IP address and adds a PTR RR pointing to the client's FQDN. The server MAY also add a DHCID RR for the PTR entry.

dns

protocol-element §5.3.1

The initial DNS UPDATE request for adding A/AAAA RRs includes as a prerequisite the assertion that the FQDN does not exist, and the update section adds the new FQDN, its IP address mapping (A and/or AAAA RRs), and the DHCID RR with the unique client identity.

dns

protocol-element §5.3.2

When the FQDN is already in use, the DNS UPDATE request includes two prerequisites: (1) the FQDN exists, and (2) the FQDN has a DHCID RR whose contents match the client identity. The update section conditionally deletes existing A/AAAA RRs and adds new ones.

dns

security-consideration §6 SHOULD

Both DHCP clients and servers SHOULD use some form of update request authentication (e.g., TSIG) when performing DNS updates, as administrators should be wary of permitting unsecured DNS updates to zones.

dns, security

security-consideration §6

DHCP servers currently have difficulty establishing confidence in client identities because DHCP itself lacks entity authentication. The DHCID mechanism is advisory only and does not provide cryptographic binding between client identity and DNS records.

dns, security

security-consideration §6

In DOCSIS cable modem environments or PPP-based network access, the infrastructure (CMTS or NAS) may provide additional assurance about client identity that allows the DHCP server to more confidently trust client identification when performing DNS updates.

dns, security

state-machine §5.3

Adding A/AAAA RRs proceeds through three states: (1) attempt initial update asserting FQDN does not exist; if YXDOMAIN, (2) attempt update asserting FQDN exists with matching DHCID RR; if NXRRSET, (3) choose another FQDN or terminate with failure.

dns