599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT Donald E. Eastlake, 3rd
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffExpires March 2000 September 1999
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The Kitchen Sink DNS Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff --- ------- ---- --- -------- ------
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Donald E. Eastlake 3rd
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffStatus of This Document
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff This draft, file name draft-ietf-dnsind-kitchen-sink-02.txt, is
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff intended to be become an Experimental RFC. Distribution of this
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff document is unlimited. Comments should be sent to
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff <namedroppers@internic.net> or to the author.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff This document is an Internet-Draft and is in full conformance with
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff all provisions of Section 10 of RFC2026. Internet-Drafts are working
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff documents of the Internet Engineering Task Force (IETF), its areas,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff and its working groups. Note that other groups may also distribute
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff working documents as Internet-Drafts.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Internet-Drafts are draft documents valid for a maximum of six
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff months. Internet-Drafts may be updated, replaced, or obsoleted by
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff other documents at any time. It is not appropriate to use Internet-
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Drafts as reference material or to cite them other than as a
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff ``working draft'' or ``work in progress.''
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The list of current Internet-Drafts can be accessed at
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The list of Internet-Draft Shadow Directories can be accessed at
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffCopyright Notice
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Copyright (C) The Internet Society (1999). All Rights Reserved
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Periodically people desire to put proprietary, complex, and/or
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff obscure data into the Domain Name System (DNS). This draft defines a
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff kitchen sink Resource Record that will satisfy this desire for the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff storage of miscellaneous structured information.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 1]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffAcknowledgements
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The suggestions or information provided by the following persons have
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff improved this document and they are gratefully acknowledged:
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Matt Crawford
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Johnny Eriksson
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Phillip H. Griffin
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Michael A. Patton
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffTable of Contents
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Status of This Document....................................1
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Copyright Notice...........................................1
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Abstract...................................................1
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Acknowledgements...........................................2
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Table of Contents..........................................2
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 1. Introduction............................................3
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2. Kitchen Sink Resource Record............................3
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2.1 The Meaning Octet......................................4
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2.2 The Coding and Subcoding Octets........................5
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2.2.1 ASN.1 Subcodings.....................................7
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2.2.2 MIME Subcodings......................................7
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2.2.3 Text Subcodings......................................8
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 3. Master File Representation..............................8
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 4. Performance Considerations..............................9
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 5. Security Considerations.................................9
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 6. IANA Considerations.....................................9
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 7. Full Copyright Statement................................9
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff References................................................11
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Author's Address..........................................12
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Expiration and File Name..................................12
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 2]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff1. Introduction
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The Domain Name System (DNS) provides a replicated distributed secure
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff hierarchical database which stores "resource records" (RRs) under
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff hierarchical domain names. This data is structured into zones which
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff are independently maintained. [RFC 1034, 1035, 2535]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Numerous types of RRs have been defined. These support such critical
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff functions as host name to address translation (A, AAAA, etc. RRs),
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff automatic mail routing (MX etc. RRs), and other functions. In
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff addition, there are RRs defined related to the zone structure and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff administration of the DNS (SOA, NS, and RP RRs), security (SIG, KEY,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff and NXT RRs), etc. There is a TXT RR for the inclusion of general
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff human readable text.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff New RRs that are reasonably simple and designed via the open IETF
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff standards process are periodically added as new needs become
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff apparent. But there are people who want to put some proprietary,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff complex and/or non-standard structured data in the DNS. In the past
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff they have frequently come up with some way of reinterpreting the TXT
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff RR, since that is one of the least constrained RRs. This is likely a
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff bad idea since all previous ways to reinterpreting the TXT RR have
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff sunk without a trace. (Well, if they actually got an RFC out, it's
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff still there, but, practically speaking, almost nobody actually uses
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff If a new type of data is needed for a global interoperable use in the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff DNS, the best course is to design a new RR that meets the need
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff through the IETF standards process. This draft defines an extremely
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff general and flexible RR which can be used for other data, such as
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff proprietary data, where global interoperability is not a
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff consideration. It includes representations of OSI ASN.1, MIME, XML,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff and, recursively, DNS RRs.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2. Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The symbol for the kitchen sink resource record is SINK. Its type
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff number is 40. This type is defined across all DNS classes.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The RDATA portion of the SINK RR is structured as follows:
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 3]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff | meaning | coding |
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff | subcoding | /
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff +--+--+--+--+--+--+--+--+ /
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The "meaning", "coding", and "subcoding" octets are always present.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The "data" portion is variable length and could be null in some
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff cases. The size of the "data" portion can always be determined by
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subtracting 3 from the SINK resource record RDLENGTH. The coding
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff octet gives the general structure of the data. The subcoding octet
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff provides additional information depending on the value of the coding
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff All references to "domain name" in this document mean a domain name
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff in the DNS CLASS of the SINK RR.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2.1 The Meaning Octet
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The meaning octet indicates whether any semantic tagging appears at
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the beginning of the data field and the format of such semantic
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff tagging. This contrasts with the coding and subcoding octets which
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff merely indicate format. The inclusion of such semantic tagging is
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff encouraged and it is expected to be the primary means by which
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff applications determine if a SINK RR is of the variety in which they
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff have interest.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff It is noted that multiple popular uses of SINK could develop that are
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff not distinguished by using different parts of the DNS name space or
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff different DNS classes. If this occurs, retrievals may fetch large
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff sets of SINK RR to be sorted through at the application level.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Should this occur, such popular uses of SINK should obtain and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff migrate to their own RR number using normal RR number allocation
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff procedures. In addition, it would be possible to define an extended
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff query operation that selects from among SINK RRs based on the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff semantic tag.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The types of tags available are chosen to be globally unique and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff under the control of some "owner". The owner designates the meaning
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff associated with the tags they control. Where the tag is a URI, it is
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff recommended that a retrieval from the URI fetch material that would
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff be helpful in determining this meaning. No a priori method is
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff defined for determining the meaning of other tags beside an out of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 4]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff band question to the owner.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff INITIAL ASSIGNED MEANING VALUES
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 3 - domain name.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 5-254 - available for assignment, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 255 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff A meaning octet value of 1 indicates that there is no semantic
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff tagging at the beginning of the data area. The information, whatever
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff it is, starts at the beginning of the data field and is coded
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff according to the coding and subcoding octets.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Meaning octet values of 2, 3, or 4, indicate, on the other hand, that
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff a semantic tag is present. A value of two indicates that a BER
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.690] encoded OID appears prefixed by a single unsigned octet of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff OID length count. A value of three indicates that a DNS domain name
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff appears in wire format with name compression prohibited. And a value
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff of four indicates that a null (zero) octet terminated URI appears.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2.2 The Coding and Subcoding Octets
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The coding octet gives the major method by which the data in the data
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff field is encoded. It should always have a meaningful value. The
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subcoding octet is intended to give additional coding details.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Although the subcoding octet is always present, it must be
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff interpreted in the context of the coding octet. For any coding octet
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff value which does not specify subcoding octet value meanings, the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subcoding octet MUST be ignored and SHOULD be zero.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff While not explicitly mentioned below, the data field will actually
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff start with a semantic tag if indicated by the meaning octet. If such
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff a semantic tag is present, any data prefix required by the coding or
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subcoding octet is placed after the semantic tag and before the data.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff CODING OCTET VALUES
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 1 - DNS RRs. The data portion consists of DNS resource records
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff as they would be transmitted in a DNS response section. The
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 5]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subcoding octet is the number of RRs in the data area as an
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff unsigned integer. Domain names may be compressed via pointers
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff as in DNS replies. The origin for the pointers is the beginning
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff of the RDATA section of the SINK RR. Thus the SINK RR is safe
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff to cache since only code that knows how to parse the data
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff portion of a SINK RR need know of and can expand these
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff compressions.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2 - MIME structured data [RFC 2045, 2046]. The data portion is
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff a MIME structured message. The "MIME-Version:" header line may
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff be omitted unless the version is other than "1.0". The top
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff level Content-Transfer-Encoding may be encoded into the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subcoding octet (see section 2.2.2). Note that, to some extent,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the size limitations of DNS RRs may be overcome in the MIME case
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff by using the "Content-Type: message/external-body" mechanism.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 3 - Text tagged data. The data potion consists of text formated
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff as specified in the TXT RR except that the first and every
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff subsequent odd numbered text item is considered to be a tag
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff labeling the immediately following text item. If there are an
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff odd number of text items overall, then the last is considered to
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff label a null text item. Syntax of the tags is as specified in
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff RFC 2396 for the "Authority Component" without the two leading
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff slashes ("//") or trailing slash using the DNS for authority.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Thus any organization with a domain name can assign tags without
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff fear of conflict. The subcodings octet specifies the encoding
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff of the labeled text items as specified in section 2.2.3.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 4 - HTML. The subcoding octet indicates the version of HTML
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff with the major version number in the upper nibble and the minor
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff version number in the lower nibble. Thus, for example, HTML 3.2
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff would be indicated by a 0x32 octet.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 5 - XML. The subcoding octet is the version of XML, currently
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 6 - ASN.1 [X.680, etc.]. See section 2.2.1.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 7-251 - Available for assignment, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 252 - Private coding format indicated by an OID. The format of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the data portion is indicated by an initial BER encoded OID
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff which is prefixed by a one octet unsigned length count for the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff OID. The subcoding octet is available for whatever use the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff private formating wishes to make of it.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 253 - Private coding format indicated by a domain name. The
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff format of the data portion is indicated by an initial wire
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff format domain name with compression prohibited. (Such names are
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff self delimiting.) The subcoding octet is available for whatever
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 6]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff use the private formating wishes to make of it.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 254 - Private coding format indicated by a URI. The format of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the data portion is indicated by an initial URI [RFC 2396] which
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff is terminated by a zero (null) valued octet followed by the data
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff with that format. The subcoding octet is available for whatever
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff use the private formating wishes to make of it. The manner in
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff which the URI specifies the format is not defined but presumably
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the retriever will recognize the URI by some pattern match.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 255 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff NOTE: the existence of a DNS RR coding and the infinite possibilities
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff of ASN.1, XML, and MIME permit one to SINK to even greater depths by
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2.2.1 ASN.1 Subcodings
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff For ASN.1 [X.680, etc.] data, a specific concrete encoding must be
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff chosen as indicated by the subcoding octet.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff ASN.* SUBCODINGS
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 1 - BER ( Basic Encoding Rules [X.690] ).
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2 - DER ( Distinguished Encoding Rules [X.690] ).
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 3 - PER ( Packed Encoding Rules ) Aligned [X.691].
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 4 - PER Unaligned [X.691].
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 5 - CER ( Canonical Encoding Rules [X.690] ).
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 6-253 - available for assignment, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 254 - private. This subcoding will never be assigned to a standard
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff set of encoding rules. An OID preceded by a one octet unsigned
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff length of OID appears at the beginning of the data area after
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the ASN coding OID.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 255 - reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2.2.2 MIME Subcodings
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff If the coding octet indicates the data is MIME structured, the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff precise encoding is given by the subcoding octets as listed below.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff MIME SUBCODINGS
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 - reserved, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 7]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 4 - quoted-printable.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 6 - 253 - available for assignment, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 254 - private. The data portion must start with an "x-" or "X-"
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff token denoting the private content-transfer-encoding immediately
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff followed by one null (zero) octet followed by the remainder of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the MIME object.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 255 - reserved, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff2.2.3 Text Subcodings
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff If the coding octet indicates the data is text, the exact encoding of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the text items is indicated by the subcoding octet as follows:
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff TEXT SUBCODINGS
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 0 - reserved, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 2 - UTF-7 [RFC 1642].
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 3 - UTF-8 [RFC 2044].
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 4 - ASCII with MIME header escapes [RFC 2047].
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 5 - 253 - available for assignment, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 254 - private. Each text item must start with a domain name [RFC
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 1034] in wire format without compression denoting the private
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff text encoding immediately followed by the remainder of the text
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 255 - reserved, see section 6.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff3. Master File Representation
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff SINK resource records may appear as lines in zone master files. The
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff meaning, coding, and subcoding appear as unsigned decimal integers.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The data portion can be quite long. It is represented in base 64
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2045] and may be divided up into any number of white space
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff separated substrings, down to single base 64 digits, which are
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff concatenated to obtain the full data. These substrings can span
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff lines using the standard parenthesis notation. (This type of base64
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff master file data is also required to support the DNS KEY and SIG
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff security RRs [RFC 2535].)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 8]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff4. Performance Considerations
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Currently DNS is optimized for small data transfers, generally not
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff exceeding 512 octets including overhead. Larger transfers are less
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff efficient but do work correctly and efforts are underway to make them
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff more efficient.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff It is easy to create very large RRs or RR sets using SINK. DNS
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff administrators should think about this and may wish to discourage
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff large RRs or RR sets. Consideration should also be given to putting
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff zones from which large RRs or RR sets will be commonly retrieved on
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff separate hosts which can be tuned for the load this will represent.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff5. Security Considerations
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Since the SINK resource record can be used to store arbitrary data in
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the DNS, this data could have security consequences, particularly if
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff it is control, executable, macro, or interpretable information or
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff very large and might cause buffer overflow. Due care should be
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2535] covers data original authentication of the data in the
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff domain name system including SINK RRs.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff6. IANA Considerations
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Assignment of specific meaning to the values listed herein as
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff "reserved" requires an IETF standards action.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff All other assignments of available meaning, coding, or subcoding
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff octet values are by IETF consensus.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The many provisions for private indicita specified by separately
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff allocated OIDs, domain names, or URIs should cover most requirements
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff for private or proprietary values.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff7. Full Copyright Statement
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Copyright (C) The Internet Society (1999). All Rights Reserved.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff This document and translations of it may be copied and furnished to
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff others, and derivative works that comment on or otherwise explain it
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff or assist in its implementation may be prepared, copied, published
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff and distributed, in whole or in part, without restriction of any
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 9]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff kind, provided that the above copyright notice and this paragraph are
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff included on all such copies and derivative works. However, this
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff document itself may not be modified in any way, such as by removing
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff the copyright notice or references to the Internet Society or other
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Internet organizations, except as needed for the purpose of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff developing Internet standards in which case the procedures for
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff copyrights defined in the Internet Standards process must be
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff followed, or as required to translate it into languages other than
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff The limited permissions granted above are perpetual and will not be
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff revoked by the Internet Society or its successors or assigns.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff This document and the information contained herein is provided on an
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 10]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 1034] - P. Mockapetris, "Domain names - concepts and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff facilities", 11/01/1987.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 1035] - P. Mockapetris, "Domain names - implementation and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff specification", 11/01/1987.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 1642] - D. Goldsmith, M. Davis, "UTF-7 - A Mail-Safe
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Transformation Format of Unicode", 07/13/1994.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2044] - F. Yergeau, "UTF-8, a transformation format of Unicode
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff and ISO 10646", 10/30/1996.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2045] - N. Freed, N. Borenstein, "Multipurpose Internet Mail
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Extensions (MIME) Part One: Format of Internet Message Bodies",
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2046] - N. Freed, N. Borenstein, "Multipurpose Internet Mail
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Extensions (MIME) Part Two: Media Types", 12/02/1996.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2047] - K. Moore, "MIME (Multipurpose Internet Mail Extensions)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Part Three: Message Header Extensions for Non-ASCII Text",
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2396] - T. Berners-Lee, R. Fielding, L. Masinter, "Uniform
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Resource Identifiers (URI): Generic Syntax", August 1998.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [RFC 2535] - D. Eastlake, "Domain Name System Security Extensions",
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.680] - ITU-T Recommendation X.680 (1997) | ISO/IEC 8824-1:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - Abstract Syntax Notation One (ASN.1):
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Specification of Basic Notation
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.681] - ITU-T Recommendation X.681 (1997) | ISO/IEC 8824-2:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - Abstract Syntax Notation One (ASN.1):
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Object Specification
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.682] - ITU-T Recommendation X.682 (1997) | ISO/IEC 8824-3:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - Abstract Syntax Notation One (ASN.1):
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Constraint Specification
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.683] - ITU-T Recommendation X.683 (1997) | ISO/IEC 8824-4:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - Abstract Syntax Notation One (ASN.1):
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Parameterization of ASN.1 Specifications
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.690] - ITU-T Recommendation X.690 (1997) | ISO/IEC 8825-1:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - ASN.1 Encoding Rules: Specification of Basic
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Encoding Rules (BER), Canonical Encoding Rules (CER) and
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 11]
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffINTERNET-DRAFT The Kitchen Sink Resource Record
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Distinguished Encoding Rules (DER)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff [X.691] - ITU-T Recommendation X.691 (1997) | ISO/IEC 8825-2:1998,
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Information Technology - ASN.1 Encoding Rules: Specification of
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Packed Encoding Rules (PER)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffAuthor's Address
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Donald E. Eastlake 3rd
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff 65 Shindegan Hill Road
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Carmel, 10512 USA
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Telephone: +1 914-276-2668 (h)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff +1 914-784-7913 (w)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff FAX: +1 914-784-3833 (w)
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff EMail: dee3@us.ibm.com
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffExpiration and File Name
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff This draft expires March 2000.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael Graff Its file name is draft-ietf-dnsind-kitchen-sink-02.txt.
599c6d44f4d41aab5d3da98214492eb26e674b65Michael GraffD. Eastlake 3rd [Page 12]