⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 draft-ietf-dnsext-dhcid-rr-08.txt

📁 bind 9.3结合mysql数据库
💻 TXT
📖 第 1 页 / 共 2 页
字号:
DNSEXT                                                          M. StappInternet-Draft                                       Cisco Systems, Inc.Expires: January 14, 2005                                       T. Lemon                                                           A. Gustafsson                                                           Nominum, Inc.                                                           July 16, 2004           A DNS RR for Encoding DHCP Information (DHCID RR)                  <draft-ietf-dnsext-dhcid-rr-08.txt>Status of this Memo   This document is an Internet-Draft and is subject to all provisions   of section 3 of RFC 3667.  By submitting this Internet-Draft, each   author represents that any applicable patent or other IPR claims of   which he or she is aware have been or will be disclosed, and any of   which he or she become aware will be disclosed, in accordance with   RFC 3668.   Internet-Drafts are working documents of the Internet Engineering   Task Force (IETF), its areas, and its working groups.  Note that   other groups may also distribute working documents as   Internet-Drafts.   Internet-Drafts are draft documents valid for a maximum of six months   and may be updated, replaced, or obsoleted by other documents at any   time.  It is inappropriate to use Internet-Drafts as reference   material or to cite them other than as "work in progress."   The list of current Internet-Drafts can be accessed at http://   www.ietf.org/ietf/1id-abstracts.txt.   The list of Internet-Draft Shadow Directories can be accessed at   http://www.ietf.org/shadow.html.   This Internet-Draft will expire on January 14, 2005.Copyright Notice   Copyright (C) The Internet Society (2004).  All Rights Reserved.Abstract   It is possible for multiple DHCP clients to attempt to update the   same DNS FQDN as they obtain DHCP leases.  Whether the DHCP server or   the clients themselves perform the DNS updates, conflicts can arise.   To resolve such conflicts, "Resolution of DNS Name Conflicts" [1]   proposes storing client identifiers in the DNS to unambiguouslyStapp, et al.           Expires January 14, 2005                [Page 1]Internet-Draft                The DHCID RR                     July 2004   associate domain names with the DHCP clients to which they refer.   This memo defines a distinct RR type for this purpose for use by DHCP   clients and servers, the "DHCID" RR.Table of Contents   1.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  3   2.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3   3.  The DHCID RR . . . . . . . . . . . . . . . . . . . . . . . . .  3     3.1   DHCID RDATA format . . . . . . . . . . . . . . . . . . . .  4     3.2   DHCID Presentation Format  . . . . . . . . . . . . . . . .  4     3.3   The DHCID RR Type Codes  . . . . . . . . . . . . . . . . .  4     3.4   Computation of the RDATA . . . . . . . . . . . . . . . . .  4     3.5   Examples . . . . . . . . . . . . . . . . . . . . . . . . .  5       3.5.1   Example 1  . . . . . . . . . . . . . . . . . . . . . .  6       3.5.2   Example 2  . . . . . . . . . . . . . . . . . . . . . .  6   4.  Use of the DHCID RR  . . . . . . . . . . . . . . . . . . . . .  6   5.  Updater Behavior . . . . . . . . . . . . . . . . . . . . . . .  6   6.  Security Considerations  . . . . . . . . . . . . . . . . . . .  7   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  7   8.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .  7   9.  References . . . . . . . . . . . . . . . . . . . . . . . . . .  8   9.1   Normative References . . . . . . . . . . . . . . . . . . . .  8   9.2   Informative References . . . . . . . . . . . . . . . . . . .  8       Authors' Addresses . . . . . . . . . . . . . . . . . . . . . .  9       Intellectual Property and Copyright Statements . . . . . . . . 10Stapp, et al.           Expires January 14, 2005                [Page 2]Internet-Draft                The DHCID RR                     July 20041.  Terminology   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this   document are to be interpreted as described in RFC 2119 [2].2.  Introduction   A set of procedures to allow DHCP [7] clients and servers to   automatically update the DNS (RFC 1034 [3], RFC 1035 [4]) is proposed   in "Resolution of DNS Name Conflicts" [1].   Conflicts can arise if multiple DHCP clients wish to use the same DNS   name.  To resolve such conflicts, "Resolution of DNS Name Conflicts"   [1] proposes storing client identifiers in the DNS to unambiguously   associate domain names with the DHCP clients using them.  In the   interest of clarity, it is preferable for this DHCP information to   use a distinct RR type.  This memo defines a distinct RR for this   purpose for use by DHCP clients or servers, the "DHCID" RR.   In order to avoid exposing potentially sensitive identifying   information, the data stored is the result of a one-way MD5 [5] hash   computation.  The hash includes information from the DHCP client's   REQUEST message as well as the domain name itself, so that the data   stored in the DHCID RR will be dependent on both the client   identification used in the DHCP protocol interaction and the domain   name.  This means that the DHCID RDATA will vary if a single client   is associated over time with more than one name.  This makes it   difficult to 'track' a client as it is associated with various domain   names.   The MD5 hash algorithm has been shown to be weaker than the SHA-1   algorithm; it could therefore be argued that SHA-1 is a better   choice.  However, SHA-1 is significantly slower than MD5.  A   successful attack of MD5's weakness does not reveal the original data   that was used to generate the signature, but rather provides a new   set of input data that will produce the same signature.  Because we   are using the MD5 hash to conceal the original data, the fact that an   attacker could produce a different plaintext resulting in the same   MD5 output is not significant concern.3.  The DHCID RR   The DHCID RR is defined with mnemonic DHCID and type code [TBD].  The   DHCID RR is only defined in the IN class.  DHCID RRs cause no   additional section processing.  The DHCID RR is not a singleton type.Stapp, et al.           Expires January 14, 2005                [Page 3]Internet-Draft                The DHCID RR                     July 20043.1  DHCID RDATA format   The RDATA section of a DHCID RR in transmission contains RDLENGTH   bytes of binary data.  The format of this data and its interpretation   by DHCP servers and clients are described below.   DNS software should consider the RDATA section to be opaque.  DHCP   clients or servers use the DHCID RR to associate a DHCP client's   identity with a DNS name, so that multiple DHCP clients and servers   may deterministically perform dynamic DNS updates to the same zone.   From the updater's perspective, the DHCID resource record RDATA   consists of a 16-bit identifier type, in network byte order, followed   by one or more bytes representing the actual identifier:     	< 16 bits >	DHCP identifier used     	< n bytes >	MD5 digest3.2  DHCID Presentation Format   In DNS master files, the RDATA is represented as a single block in   base 64 encoding identical to that used for representing binary data   in RFC 2535 [8].  The data may be divided up into any number of white   space separated substrings, down to single base 64 digits, which are   concatenated to form the complete RDATA.  These substrings can span   lines using the standard parentheses.3.3  The DHCID RR Type Codes   The DHCID RR Type Code specifies what data from the DHCP client's   request was used as input into the hash function.  The type codes are   defined in a registry maintained by IANA, as specified in Section 7.   The initial list of assigned values for the type code is:   0x0000 = htype, chaddr from a DHCPv4 client's DHCPREQUEST [7].   0x0001 = The data portion from a DHCPv4 client's Client Identifier      option [9].   0x0002 = The client's DUID (i.e., the data portion of a DHCPv6      client's Client Identifier option [10] or the DUID field from a      DHCPv4 client's Client Identifier option [12]).   0x0003 - 0xfffe = Available to be assigned by IANA.   0xffff = RESERVED3.4  Computation of the RDATA   The DHCID RDATA is formed by concatenating the two type bytes withStapp, et al.           Expires January 14, 2005                [Page 4]Internet-Draft                The DHCID RR                     July 2004   some variable-length identifying data.       < type > < data >   The RDATA for all type codes other than 0xffff, which is reserved for   future expansion, is formed by concatenating the two type bytes and a   16-byte MD5 hash value.  The input to the hash function is defined to   be:       data = MD5(< identifier > < FQDN >)   The FQDN is represented in the buffer in unambiguous canonical form   as described in RFC 2535 [8], section 8.1.  The type code and the   identifier are related as specified in Section 3.3: the type code   describes the source of the identifier.   When the updater is using the client's link-layer address as the   identifier, the first two bytes of the DHCID RDATA MUST be zero.  To   generate the rest of the resource record, the updater computes a   one-way hash using the MD5 algorithm across a buffer containing the   client's network hardware type, link-layer address, and the FQDN   data.  Specifically, the first byte of the buffer contains the   network hardware type as it appeared in the DHCP 'htype' field of the   client's DHCPREQUEST message.  All of the significant bytes of the   chaddr field in the client's DHCPREQUEST message follow, in the same   order in which the bytes appear in the DHCPREQUEST message.  The   number of significant bytes in the 'chaddr' field is specified in the   'hlen' field of the DHCPREQUEST message.  The FQDN data, as specified   above, follows.   When the updater is using the DHCPv4 Client Identifier option sent by   the client in its DHCPREQUEST message, the first two bytes of the   DHCID RR MUST be 0x0001, in network byte order.  The rest of the   DHCID RR MUST contain the results of computing an MD5 hash across the   payload of the option, followed by the FQDN.  The payload of the   option consists of the bytes of the option following the option code   and length.   When the updater is using the DHCPv6 DUID sent by the client in its   REQUEST message, the first two bytes of the DHCID RR MUST be 0x0002,   in network byte order.  The rest of the DHCID RR MUST contain the   results of computing an MD5 hash across the payload of the option,   followed by the FQDN.  The payload of the option consists of the   bytes of the option following the option code and length.3.5  ExamplesStapp, et al.           Expires January 14, 2005                [Page 5]Internet-Draft                The DHCID RR                     July 2004

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -