RFC 6762
For implications on Internet governance, see Multicast DNS.
RFC 6762, Multicast DNS, is an IETF Standards-Track RFC that specifies how DNS-style queries and responses can be carried over IP multicast on a local link, without requiring any conventional unicast DNS server.[1] It defines the behaviour commonly known as "mDNS" and designates the .local. domain and certain reverse-mapping domains as link-local namespaces.[2][3]
Background[edit | edit source]
RFC 6762 was produced in the context of Zero Configuration Networking and the need for host naming and service discovery on small or unmanaged networks where users have no authority over any portion of the global DNS namespace.[1] It is designed as an IP-based replacement for AppleTalk’s Name Binding Protocol and is paired with DNS-Based Service Discovery (DNS-SD), specified separately in RFC 6763.[4][5] The RFC explicitly reuses the existing DNS message format, adding only rules for how DNS messages are sent and interpreted over link-local multicast.[1] No new DNS opcodes or response codes are introduced.
Multicast DNS Operation[edit | edit source]
RFC 6762 defines Multicast DNS as clients performing DNS-like queries by sending DNS-format UDP queries and responses to the well-known multicast address "224.0.0.251" (IPv4) or "FF02::FB" (IPv6) on UDP port 5353, with an IP Time To Live (hop limit) of 255 so that traffic remains on the local link.[1] Messages maintain the standard DNS header and Question/Answer/Authority/Additional sections.
The specification distinguishes between "One-shot queries", where a legacy resolver simply sends a query to 224.0.0.251:5353 and uses the first response; and "Continuous queries", used by fully compliant mDNS queriers that maintain ongoing interest and update results asynchronously, as required by DNS-SD.[1]
Responders are expected to act as both queriers and answerers so they can first verify uniqueness (for example, a host’s own address records) before answering queries about them. The protocol defines probing on startup, announcements, and conflict resolution rules: a host that detects a name conflict during probing or operation must relinquish the contested name and choose another.[1] RFC 6762 also describes TTL and cache-coherency rules adapted to multicast operation and summarises the behavioural differences between mDNS and unicast DNS.[1]
Special Names and Link-Local Scope[edit | edit source]
A central element of RFC 6762 is its designation of specific names and domains as link-local and therefore subject to mDNS handling.
The RFC specifies that the DNS top-level domain .local. is a special domain: any fully qualified name ending in .local. is considered link-local, with meaning only on the originating link.[1] Queries for such names must be sent to the mDNS multicast address rather than to configured unicast resolvers. Implementations may also, if they choose, query other mechanisms (including Unicast DNS) in parallel and merge results, but the document warns that this can create user confusion when different mechanisms return different answers.[1]
Similarly, RFC 6762 marks specific reverse-mapping domains as link-local. Queries for names under 254.169.in-addr.arpa. (IPv4 link-local) and for prefixes 8.e.f.ip6.arpa., 9.e.f.ip6.arpa., a.e.f.ip6.arpa., and b.e.f.ip6.arpa. (IPv6 link-local) MUST be sent to the mDNS multicast address.[1] These domains correspond to IPv4 169.254/16 and IPv6 FE80::/10 link-local address ranges respectively.
The IANA Special-Use Domain Names registry lists .local and the link-local reverse domains as special-use names, citing RFC 6762 as the authority document, while RFC 6761 defines the general framework for such reservations.[3][6]
Relationship to Service Discovery[edit | edit source]
RFC 6762 is intended to be used together with RFC 6763, where mDNS provides local-link name resolution and DNS-SD defines the naming conventions and resource records for discovering services such as printers, file shares and other devices.[1][4] This combination underlies implementations such as Apple’s Bonjour and other "zero-configuration" service discovery stacks that rely on RFC 6762-compliant behaviour for host naming.[5][7]
References[edit | edit source]
- ↑ 1.00 1.01 1.02 1.03 1.04 1.05 1.06 1.07 1.08 1.09 1.10 S. Cheshire, M. Krochmal, "Multicast DNS", RFC 6762, IETF, February 2013.
- ↑ RFC Editor, "Information on RFC 6762" (accessed 2025-12-11).
- ↑ 3.0 3.1 "Special-use domain name", Wikipedia – section on .local (accessed 2025-12-11).
- ↑ 4.0 4.1 S. Cheshire, M. Krochmal, "DNS-Based Service Discovery", RFC 6763, IETF, February 2013.
- ↑ 5.0 5.1 Multicast DNS (multicastdns.org) (accessed 2025-12-11).
- ↑ S. Cheshire, M. Krochmal, "Special-Use Domain Names", RFC 6761, IETF, February 2013.
- ↑ Apple, "Bonjour Printing Specification 1.2.1" (accessed 2025-12-11).
ICANNWiki resources: Special Pages | Content Guide | Documentation | Development || Maintenance: Articles needing attention | Candidates for deletion || Projects: Internet & Digital Governance Library