Zum Hauptinhalt springen

Anhang F - Format der Adresszuordnungstabellen

1. Globale Mapping-Informationen​

The consistent operation of gateways which follow this
specification relies of the existence of three globally defined
mappings:

1. Domain Name Space -> O/R Address Space

2. O/R Address Space -> Domain Name Space

3. Domain Name Space -> O/R Address of preferred gateway

All gateways conforming to this specification shall have access to
these mappings. The gateway may use standardised or private
mechanisms to access this mapping information.

One means of distributing this information is in three files.
This appendix defines a format for these files. Other
standardised mechanisms to distribute the mapping information are
expected. In particular, mechanisms for using the Domain Name
Scheme, and X.500 are planned.

The definition of global mapping information is being co-
ordinated by the COSINE-MHS project, on behalf of the Internet and
other X.400 and RFC 822 users. For information on accessing this
information contact:

COSINE MHS Project Team
SWITCH
Weinbergstrasse 18
8001 Zuerich
Switzerland

tel: +41 1 262 3143
fax: +41 1 262 3151
email:
C=ch;ADMD=arcom;PRMD=switch;O=switch;OU=cosine-mhs;
S=project-team
or
[email protected]

2. Syntaxdefinitionen​

An address syntax is defined, which is compatible with the syntax
used for 822.domains.  By representing the O/R addresses as
domains, all lookups can be mechanically implemented as domain ->
domain mappings.  This syntax defined is initially for use in
table format, but the syntax is defined in a manner which makes it
suitable to be adapted for  use with the  Domain Name Service.
This syntax allows for a general representation of O/R addresses,
so that it can be used in other applications.  Not all attributes
are used in the table formats defined.

To allow the mapping of null attributes  to be represented, the
pseudo-value "@" (not a printable string character) is used to
indicate omission of a level in the hierarchy.  This is distinct
from the form including the element with no value, although a
correct X.400 implementation will interpret both in the same
manner.

This syntax is not intended to be handled by users.

        dmn-or-address  = dmn-part *( "." dmn-part )
        dmn-part        = attribute "$" value
        attribute       = standard-type
                        / "~" dmn-printablestring
        value           = dmn-printablestring
                        / "@"
        dmn-printablestring =
                        = *( dmn-char / dmn-pair )
        dmn-char        = <"{", "}", "*", and any ps-char
                                                except ".">
        dmn-pair        = "\."

An example usage:

        ~ROLE$Big\.Chief.ADMD$ATT.C$US
        [email protected]$US

The first example illustrates quoting of a ".", and the second
omission of the ADMD level. There must be a strict ordering of all
components in this table, with the most significant components on
the RHS.   This allows the encoding to be treated as a domain.

Various further restrictions are placed on the usage of dmn-or-
address in the address space mapping tables.

1.   Only C, ADMD, PRMD, O, and up to four OUs may be used.

2.   No components shall be omitted from this hierarchy, although
     the hierarchy may terminate at any level.  If the mapping is
     to an omitted component, the "@" syntax is used.

3. Tabellensuchen​

When determining a match, there are aspects which apply to all
lookups. Matches are always case independent. The key for all
three tables is a domain. The longest possible match shall be
obtained. Suppose the table has two entries with the following
keys:

K.L
J.K.L

Domain "A.B.C" will not return any matches. Domain "I.J.K.L" will
match the entry "J.K.L:.

4. Domain -> O/R Address Format​

The BNF is:

domain-syntax "#" dmn-or-address "#"

Note that the trailing "#" is used for clarity, as the dmn-or-
address syntax might lead to values with trailing blanks. Lines
staring with "#" are comments.

For example:
AC.UK#PRMD$UK\.AC.ADMD$GOLD 400.C$GB#
XEROX.COM#O$Xerox.ADMD$ATT.C$US#
GMD.DE#[email protected]$GMD.ADMD$DBP.C$DE#

A domain is looked up to determine the top levels of an O/R
Address. Components of the domain which are not matched are used
to build the remainder of the O/R address, as described in Section
4.3.4.

5. O/R Address -> Domain Format​

The syntax of this table is:

dmn-or-address "#" domain-syntax "#"

For example:

#
# Mapping table
#
PRMD$UK\.AC.ADMD$GOLD 400.C$GB#AC.UK#

The O/R Address is used to generate a domain key. It is important
to order the components correctly, and to fill in missing
components in the hierarchy. Use of this mapping is described in
Section 4.3.2.

6. Domain -> O/R Address-of-Gateway-Tabelle​

This uses the same format as the domain -> O/R address mapping.
In this case, the two restrictions (omitted components and
restrictions on components) do not apply. Use of this mapping is
described in Section 4.3.4.