📄 draft-ietf-dnsext-mdns-19.txt
字号:
DNSEXT Working Group Levon EsibovINTERNET-DRAFT Bernard AbobaCategory: Standards Track Dave Thaler<draft-ietf-dnsext-mdns-19.txt> Microsoft12 May 2003 Linklocal Multicast Name Resolution (LLMNR)This document is an Internet-Draft and is in full conformance with allprovisions of Section 10 of RFC 2026.Internet-Drafts are working documents of the Internet Engineering TaskForce (IETF), its areas, and its working groups. Note that other groupsmay also distribute working documents as Internet-Drafts.Internet-Drafts are draft documents valid for a maximum of six monthsand may be updated, replaced, or obsoleted by other documents at anytime. It is inappropriate to use Internet-Drafts as reference materialor to cite them other than as "work in progress."The list of current Internet-Drafts can be accessed athttp://www.ietf.org/ietf/1id-abstracts.txtThe list of Internet-Draft Shadow Directories can be accessed athttp://www.ietf.org/shadow.html.Copyright NoticeCopyright (C) The Internet Society (2003). All Rights Reserved.AbstractToday, with the rise of home networking, there are an increasing numberof ad-hoc networks operating without a Domain Name System (DNS) server.In order to allow name resolution in such environments, Link-LocalMulticast Name Resolution (LLMNR) is proposed. LLMNR supports allcurrent and future DNS formats, types and classes, while operating on aseparate port from DNS, and with a distinct resolver cache.Esibov, Aboba & Thaler Standards Track [Page 1]INTERNET-DRAFT LLMNR 12 May 2003Table of Contents1. Introduction .......................................... 3 1.1 Requirements .................................... 4 1.2 Terminology ..................................... 42. Name resolution using LLMNR ........................... 4 2.1 Sender behavior ................................. 5 2.2 Responder behavior .............................. 5 2.3 Unicast queries ................................. 6 2.4 Addressing ...................................... 7 2.5 Off-link detection .............................. 8 2.6 Retransmissions ................................. 8 2.7 DNS TTL ......................................... 93. Usage model ........................................... 9 3.1 Unqualified names ............................... 10 3.2 LLMNR configuration ............................. 104. Conflict resolution ................................... 12 4.1 Considerations for multiple interfaces .......... 13 4.2 API issues ...................................... 145. Security considerations ............................... 15 5.1 Scope restriction ............................... 15 5.2 Usage restriction ............................... 16 5.3 Cache and port separation ....................... 17 5.4 Authentication .................................. 176. IANA considerations ................................... 177. Normative References .................................. 178. Informative References ................................ 18Acknowledgments .............................................. 19Authors' Addresses ........................................... 19Intellectual Property Statement .............................. 20Full Copyright Statement ..................................... 20Esibov, Aboba & Thaler Standards Track [Page 2]INTERNET-DRAFT LLMNR 12 May 20031. IntroductionThis document discusses Link Local Multicast Name Resolution (LLMNR),which operates on a separate port from the Domain Name System (DNS),with a distinct resolver cache, but does not change the format of DNSpackets. LLMNR supports all current and future DNS formats, types andclasses. However, since LLMNR only operates on the local link, itcannot be considered a substitute for DNS.The goal of LLMNR is to enable name resolution in scenarios in whichconventional DNS name resolution is not possible. These includescenarios in which hosts are not configured with the address of a DNSserver, where configured DNS servers do not reply to a query, or wherethey respond with errors, as described in Section 3.LLMNR queries are sent to and received on port TBD. Link-scopemulticast addresses are used to prevent propagation of LLMNR trafficacross routers, potentially flooding the network; for details, seeSection 2.4. LLMNR queries can also be sent to a unicast address, asdescribed in Section 2.3.Propagation of LLMNR packets on the local link is considered sufficientto enable name resolution in small networks. The assumption is that ifa network has a home gateway, then the network either has DNS and DHCPv4servers or the home gateway provides DHCPv4 and DNS serverfunctionality. By providing Dynamic Host Configuration Service forIPv4 (DHCPv4), as well as a DNS server with support for dynamic DNS,which is also authoritative for the A RRs of local hosts, it is possibleto support resolution of local host names over IPv4.For small IPv6 networks, equivalent functionality can be provided byimplementing Dynamic Host Configuration Service for IPv6 (DHCPv6) forDNS configuration [DHCPv6DNS], as well providing a DNS server withsupport for dynamic DNS, which is also authoritative for the AAAA RRs oflocal hosts, it is possible to support the resolution of local hostnames over IPv6 as well as IPv4.In the future, LLMNR may be defined to support greater than link-scopemulticast. This would occur if LLMNR deployment is successful, theassumption that LLMNR is not needed on multiple links proves incorrect,and multicast routing becomes ubiquitous. For example, it is not clearthat this assumption will be valid in large ad hoc networking scenarios.Once we have experience in LLMNR deployment in terms of administrativeissues, usability and impact on the network it will be possible toreevaluate which multicast scopes are appropriate for use with multicastname resolution mechanisms.Esibov, Aboba & Thaler Standards Track [Page 3]INTERNET-DRAFT LLMNR 12 May 2003Service discovery in general, as well as discovery of DNS servers usingLLMNR in particular, is outside of the scope of this document, as isname resolution over non-multicast capable media.1.1. RequirementsIn this document, several words are used to signify the requirements ofthe specification. These words are often capitalized. The key words"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULDNOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to beinterpreted as described in [RFC2119].1.2. TerminologyResponder A host that listens to LLMNR queries, and responds to those for which it is authoritative.Sender A host that sends an LLMNR query. Typically a host is configured as both a sender and a responder. However, a host may be configured as a sender, but not a responder or as a responder, but not a sender.Routable address An address other than a linklocal address. This includes site local and globally routable addresses, as well as private addresses.2. Name resolution using LLMNRA typical sequence of events for LLMNR usage is as follows:[1] A sender needs to resolve a query for a name "host.example.com", so it sends an LLMNR query to the link-scope multicast address.[2] A responder responds to this query only if it is authoritative for the domain name "host.example.com". The responder sends a response to the sender via unicast over UDP.[3] Upon the reception of the response, the sender performs the checks described in Section 2.5. If these conditions are met, then the sender uses and caches the returned response. If not, then the sender ignores the response and continues waiting for the response.Further details of sender and responder behavior are provided in thesections that follow.Esibov, Aboba & Thaler Standards Track [Page 4]INTERNET-DRAFT LLMNR 12 May 20032.1. Sender behaviorA sender sends an LLMNR query for any legal resource record type (e.g.A/AAAA, SRV, PTR, etc.) to the link-scope multicast address. Asdescribed in Section 2.3, a sender may also send a unicast query. AnLLMNR sender MAY send a request for any name.The RD (Recursion Desired) bit MUST NOT be set in a query. If aresponder receives a query with the header containing RD set bit, theresponder MUST ignore the RD bit.The sender MUST anticipate receiving no replies to some LLMNR queries,in the event that no responders are available within the link-scope orin the event no positive non-null responses exist for the transmittedquery. If no positive response is received, a resolver treats it as aresponse that no records of the specified type and class exist for thespecified name (it is treated the same as a response with RCODE=0 and anempty answer section).2.2. Responder behaviorA responder MUST listen on UDP port TBD on the link-scope multicastaddress(es) and on UDP and TCP port TBD on the unicast address(es) thatcould be set as the source address(es) when the responder responds tothe LLMNR query. A host configured as a responder MUST act as a senderto verify the uniqueness of names as described in Section 4.Responders MUST NOT respond to LLMNR queries for names they are notauthoritative for, except in the event of a discovered conflict, asdescribed in Section 4. Responders SHOULD respond to LLMNR queries fornames and addresses they are authoritative for. This applies to bothforward and reverse lookups.As an example, a computer "host.example.com." configured to respond toLLMNR queries is authoritative for the name "host.example.com.". Onreceiving an LLMNR A/AAAA resource record query for the name"host.example.com." the host authoritatively responds with A/AAAArecord(s) that contain IP address(es) in the RDATA of the resourcerecord.If a responder is authoritative for a name, it MAY respond with RCODE=0and an empty answer section, if the type of query does not match a RRowned by the responder. For example, if the host has a AAAA RR, but noA RR, and an A RR query is received, the host would respond with RCODE=0and an empty answer section.If a DNS server is running on a host that supports LLMNR, the DNS serverMUST respond to LLMNR queries only for the RRSets owned by the host onEsibov, Aboba & Thaler Standards Track [Page 5]INTERNET-DRAFT LLMNR 12 May 2003which the server is running, but MUST NOT respond for other records forwhich the server is authoritative.In conventional DNS terminology a DNS server authoritative for a zone isauthoritative for all the domain names under the zone root except forthe branches delegated into separate zones. Contrary to conventionalDNS terminology, an LLMNR responder is authoritative only for the zoneroot.For example the host "host.example.com." is not authoritative for the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -