X400 Operations Working Group September 1992 Request for Comments: DRAFT v3.0 Using the Internet DNS to maintain RFC1327 Address Mapping Tables and X.400 Routing Informations Claudio Allocchio (Allocchio@elettra.trieste.it) A. Blasco Bonito (blasco@cnuce.cnr.it) Bruce Cole (cole@cs.wisc.edu) Silvia Giordano (Giordano@cnuce.cnr.it) Robert Hagens (hagens@cs.wisc.edu) GARR-Italy & Wisconsin University CC-US 0. Status of this memo This memo proposes a method of storing in the Internet Domain Name System the information needed by RFC1327 e-mail gateways to map RFC822 domain names into X.400 OR-names and viceversa. Mapping information can be managed in a distributed rather than a centralized way. Gateways located on Internet hosts can retrieve the mapping information querying the DNS instead of having fixed tables which need to be centrally updated and distributed. A proposal about storing also X.400 routing informations into the Internet DNS is presented, too. This document specify an experimental standard proposal. Distribution of this memo is unlimited. 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." Please check the I-D abstract listing contained in each Internet Draft directory to learn the current status of this or any other Internet Draft. 0.1 Document Expiration Date This document was submitted on September 23rd, 1992 and its validity will expire on March 23rd 1993. 1. Introduction RFC1327 describes a set of mappings between the X.400 (1984/88) series of protocols and the RFC822 mail protocol, or protocols derived from RFC822. That document addresses conversion of services, addresses, message envelopes, and message bodies between the two mail systems. This document is concerned with one aspect of RFC1327: the mechanism for mapping between X.400 O/R addresses and RFC822 domain names. As described in Appendix F of RFC1327, implementation of the mappings requires a database which maps between X.400 O/R addresses and domain names, and this database is statically defined. This approach requires many efforts to maintain the correct mapping: all the gateways need to get coherent tables to apply the same mappings, the conversion tables must be distributed among all the operational gateways, and also every update needs to be distributed. This static mechanism requires quite a long time to be spent in modifying and distributing these informations, putting heavy constraints on the time schedule of every update. In fact it does not appear efficient compared to the Internet distributed name service. A first proposal to use the Internet DNS to store, retrieve and maintain those mappings was introduced by two of the authors (B. Cole and R. Hagens) adopting two new DNS resource record types: TO-X400 and TO-822. However there was a critical point: the Internet DNS nameservers wishing to provide this mapping information needed to be modified to support those new resource record types and a new address class. In the real Internet, those modifications cold not really be accomplished on a significant number of operational DNS servers within a reasonable time period. This new proposal tries to bypass the above problem. The basic idea is to use an already defined, commonly available DNS resource- records type to store the mapping information. In addition, the use of a new domain name space is envisaged in order to fully implement a "two-way" mapping resolution scheme. The creation of the new domain name space also gives the chance to use the DNS to distrubute dynamically the X.400 routing informations, solving thus another efficiency problem currently affecting the X.400 MHS implementations. In this paper we will adopt the RFC1327 mapping rules syntax, showing how it can be stored into the Internet DNS, and the DOMAIN and WEP document definitions from Urs Eppenberger's routing coordination document. 1.1 Definitions syntax The definitions in this document is given in BNF-like syntax, using the following conventions: | means choice \ is used for continuation of a definition over serveral lines [] means optional {} means repeated one or more times The definitions, however, are detailed only until a certain level, and below it self- explaining character text strings will be used. 2. Motivation Implementations of RFC1327 gateways require that a database store address mapping information for X.400 and RFC822. This information must be disseminated to all RFC1327 gateways. In the internet community, the DNS has proven to be a practical means for providing a distributed nameservice. Advantages of using a DNS based system over a table based approach for mapping between O/R addresses and domain names are: - It avoids fetching and storing of entire mapping tables by every host that wishes to implement RFC1327. - Modifications to the DNS based mapping information can be made available in a more timely manner than with a table driven approach. - Table management is not necessarily required for DNS-based RFC1327 gateways. - One can determine the mappings in use by a remote gateway by querying the DNS (remote debugging). Also the distribution via DNS of the current statically defined X.400 MHS routing information will take the same advantages listed above. 3. Proposal: the new "X400.ARPA" domain space Usual domain names (the ones normally used as the global part of an RFC822 e-mail address) and their associated information, i.e. host ip addresses, mail exchanger names, etc., are stored in the DNS as a distributed database under a number of top- level domains (EDU, COM, countries like UK, IT, FR, etc). The special top-level/second-level couple IN-ADDR.ARPA is used to store the IP address to domain name relationship. Our proposal, which closely resembles the above model, is to store the RFC1327 mapping informations in a new branch of the DNS name space (under the already defined top-level domain "ARPA") using the PTR resource-record. In particular in this new name space "X400.ARPA" we will have a complete set of existing resource records available to store any other useful informations concerning X.400, like routing, responsible people, etc. This name space is thus used to contain completely the informations: the data required by an e-mail gateway to perform the X.400-RFC822 mapping can be easily found with a simple query to the nearest nameserver, thus avoiding a long search in complex, statically defined, mapping tables. Moreover there is no more any need to store, maintain and distribute manually those tables. The special name space begins at the top-level "X400.ARPA" and should have a structure following the X.400 hierachical structure (country, ADMD, PRMD, organization, ...). The fully-qualified PTR value is constructed starting from the original RFC1327 mapping rule, and chaining the string ".X400.ARPA" at the end. The construction of the new domain space tree will follow the same procedures used when organizing at first the already existing DNS space: authoritative information about the X400.ARPA top-level domain is maintained by the root servers while a central nameserver in each country is delegated by the root servers to hold the national part of the mapping tables. At first, however, the informations will be stored in a quite centralized way, and distribution of authority will be gradually achieved. A seprate document will describe the implementation phase. 4. Detailed storage proposal for RFC1327 mapping rules. Among the resource-record types that can be associated to a domain name in the DNS, the PTR is generically defined as a pointer to another part of the domain name space. The only use of the PTR record being well known is in the IN-ADDR.ARPA domain space: in that context it provides the IP address to domain name resolution (or "inverse name resolution"). PTR in the new "X400.ARPA" name space will instead be used for storing RFC1327 mapping informations. The PTR format, as defined in the RFC 1034, section 3.3 is as follows: +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | PTRDNAME | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ where: PTRDNAME A which points to some location in the domain name space. These resource records are used in special domains to point to some other location in the domain space. These records are simple data, and do not imply any special processing. The PTR value, as defined in the RFC 1034, must be a domain name, i.e. ::= | " " ::=