Internet Engineering Task Force S. Thomson INTERNET-DRAFT Bellcore C. Huitema INRIA 24 March 1995 DNS Extensions to support IP version 6 Status of this Memo This document is an Internet Draft. 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. Internet Drafts may be updated, replaced, or obsoleted by other documents at any time. It is not appropriate to use Internet Drafts as reference material or to cite them other than as a "working draft" or "work in progress." To learn the current status of any Internet-Draft, please check the 1id-abstracts.txt listing contained in the Internet-Drafts Shadow Directories on ds.internic.net, nic.nordu.net, ftp.isi.edu, or munnari.oz.au. Abstract This document defines the changes that need to be made to the Domain Name System to support hosts running IP version 6 (IPv6). The changes include a new resource record type to store an IPv6 address, a new domain to support lookups based on an IPv6 address, and updated definitions of existing query types that return Internet addresses as part of additional section processing. The extensions are designed to be compatible with existing applications and, in particular, DNS implementations themselves. Expires 24 September 1995 [Page 1] INTERNET-DRAFT IPv6 DNS Extensions March 1995 1. INTRODUCTION Current support for the storage of Internet addresses in the Domain Name System (DNS)[1,2] cannot easily be extended to support IPv6 addresses[3] since applications assume that address queries return 32-bit IPv4 addresses only. To support the storage of IPv6 addresses we define the following extensions: A new resource record type is defined to map a domain name to an IPv6 address. A new domain is defined to support lookups based on address. Existing queries that perform additional section processing to locate IPv4 addresses are redefined to perform additional sec- tion processing on both IPv4 and IPv6 addresses. The changes are designed to be compatible with existing software. The existing support for IPv4 addresses is retained. 2. NEW RESOURCE RECORD DEFINITION AND DOMAIN A new record type is defined to store a host's IPv6 address. A host that has more than one IPv6 address must have more than one such record. 2.1. AAAA record type The AAAA resource record type is a new record specific to the Inter- net class that stores a single IPv6 address. The value of the type is 28 (decimal). Expires 24 September 1995 [Page 2] INTERNET-DRAFT IPv6 DNS Extensions March 1995 2.2. AAAA data format An IPv6 address is encoded in the data portion of an AAAA resource record in network byte order (high-order byte first). 2.3. AAAA query An AAAA query for a specified domain name in the Internet class returns all associated AAAA resource records in the answer section of a response. A type AAAA query does not perform additional section processing. 2.4. Textual format of AAAA records The textual representation of the data portion of the AAAA resource record used in a master database file is the textual representation of a IPv6 address as defined in [3]. 2.5. IP6.INT Domain A special domain is defined to look up a record given an address. The intent of this domain is to provide a way of mapping an IPv6 address to a host name, although it may be used for other purposes as well. The domain is rooted at IP6.INT. An IPv6 address is represented as a name in the IP6.INT domain by a sequence of nibbles separated by dots with the suffix ".IP6.INT". The sequence of nibbles is encoded in reverse order, i.e. the low-order nibble is encoded first, followed by the next low-order nibble and so on. Each nibble is represented by a hexadecimal digit. For example, the inverse lookup domain name corresponding to the address 4321:0:1:2:3:4:567:89ab Expires 24 September 1995 [Page 3] INTERNET-DRAFT IPv6 DNS Extensions March 1995 would be b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.IP6.INT. 3. MODIFICATIONS TO EXISTING QUERY TYPES All existing query types that perform type A additional section pro- cessing, i.e. name server (NS), mail exchange (MX) and mailbox (MB) query types, must be redefined to perform both type A and type AAAA additional section processing. These new definitions mean that a name server must add any relevant IPv4 addresses and any relevant IPv6 addresses available locally to the additional section of a response when processing any one of the above queries. 4. SECURITY CONSIDERATIONS Security issues are not discussed in this memo. Expires 24 September 1995 [Page 4] INTERNET-DRAFT IPv6 DNS Extensions March 1995 5. REFERENCES [1] P. Mockapetris, "Domain Names - Concepts and Facilities", STD 13, RFC 1034, USC/Information Sciences Institute, November 1987. [2] P. Mockapetris, "Domain Names - Implementation and Specifica- tion", STD 13, RFC 1035, USC/Information Sciences Institute, November 1987. [3] R. Hinden, Editor, IPng Addressing Architecture, Internet Draft, draft-ietf-ipngwg-ipv6-addr-arch-00.txt, March 1995. Authors' Addresses Susan Thomson Bellcore MRE 2P343 445 South Street Morristown, NJ 07960 U.S.A. Phone: +1 201-829-4514 Email: set@thumper.bellcore.com Christian Huitema INRIA, Sophia-Antipolis 2004 Route des Lucioles BP 109 F-06561 Valbonne Cedex France Phone: +33 93 65 77 15 EMail: Christian.Huitema@MIRSA.INRIA.FR Expires 24 September 1995 [Page 5]