RFC 3982 - IRIS: A Domain Registry (dreg) Type for the Inter(4)

时间:2006-10-31 来源: 作者: 点击:
type="iris:entityType" minOccurs="0" maxOccurs="unbounded"/ element ref="iris:seeAlso" minOccurs="0" maxOccurs="unbounded"/ /sequence /extension /complexContent /complexType element name="contact" ty
  
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="contact"
       type="dreg:contactType"
       substitutionGroup="iris:result" />

     <!--                                           -->

     <!-- Registration Authority                    -->
     <!--                                           -->

     <complexType
       name="registrationAuthorityType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serviceInstance"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="organizationName"
               type="string"
               minOccurs="0"
               maxOccurs="1" />
             <choice
               minOccurs="0"
               maxOccurs="3">
               <element
                 name="registry">
                 <complexType/>
               </element>
               <element
                 name="registrar">
                 <complexType/>
               </element>
               <element
                 name="other">
                 <complexType/>
               </element>
             </choice>
             <element
               name="domain"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="registrationAuthority"
       type="dreg:registrationAuthorityType"

       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Privacy Label Types                       -->
     <!--                                           -->

     <attributeGroup
       name="privacyLabelAttributeGroup">
       <attribute
         name="private"
         type="boolean" />
       <attribute
         name="denied"
         type="boolean" />
       <attribute
         name="doNotRedistribute"
         type="boolean" />
       <attribute
         name="specialAccess"
         type="boolean" />
     </attributeGroup>

     <complexType
       name="dateTimePrivacyType">
       <simpleContent>
         <extension
           base="dateTime">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="stringPrivacyType">
       <simpleContent>
         <extension
           base="string">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="normalizedStringPrivacyType">
       <simpleContent>
         <extension

           base="normalizedString">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="tokenPrivacyType">
       <simpleContent>
         <extension
           base="token">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="domainStatusType">
       <sequence>
         <element
           name="appliedDate"
           type="dateTime"
           minOccurs="0"
           maxOccurs="1" />
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="dreg:privacyLabelAttributeGroup" />
       <attribute
         name="scope"
         type="string" />

     </complexType>

     <complexType
       name="contactTypeType">
       <sequence>
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="dreg:privacyLabelAttributeGroup" />
     </complexType>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Error Codes                               -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- Search Too Wide                           -->
     <!--                                           -->

     <element
       name="searchTooWide"
       type="iris:codeType"
       substitutionGroup="iris:genericCode" />

     <!--                                           -->
     <!-- Language Not Supported                    -->
     <!--                                           -->

     <complexType
       name="languageNotSupportedType">
       <complexContent>

         <extension
           base="iris:codeType">
           <sequence>
             <element
               name="unsupportedLanguage"
               type="language"
               minOccurs="1"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="languageNotSupported"
       type="dreg:languageNotSupportedType"
       substitutionGroup="iris:genericCode" />

   </schema>

                         Figure 5: dreg.xsd

5.  BEEP Transport Compliance

   IRIS allows several extensions of the core capabilities.  This
   section outlines extensions allowable by IRIS-BEEP [6].

5.1.  Message Pattern

   This registry type uses the default message pattern described in
   IRIS-BEEP [6].

5.2.  Server Authentication

   This registry type only uses the basic TLS server authentication
   method, as described in IRIS-BEEP [6].

6.  URI Resolution

6.1.  Application Service Label

   The application service label associated with this registry type MUST
   be "DREG1".  This is the abbreviated form of the URN for this
   registry type: urn:ietf:params:xml:ns:dreg1.

6.2.  Bottom-Up Resolution

   The bottom-up alternative resolution method MUST be identified as
   ’bottom’ in IRIS URI’s.

   The process for this resolution method differs from the direct-
   resolution method if the authority is only a domain name (i.e.,
   without the port number).  The process for this condition is as
   follows:

   1. The IRIS [5] direct-resolution process is tried on the domain name
      (e.g., "example.com").

   2. If the direct-resolution process yields no server for which a
      connection can be made, then the leftmost label of the domain name
      is removed, and the first step is repeated again (e.g., "com").

   3. If all the labels of the domain name are removed and no server
      connections have been made, then the DNS is queried for the
      address records corresponding to the original domain name, and the
      port used is the well-known port for the default protocol of IRIS.

6.3.  Top-Down Resolution

   The top-down alternative resolution method MUST be identified as
   ’top’ in IRIS URIs.

   The process for this resolution method differs from the direct-
   resolution method if the authority is only a domain name (i.e.,
   without the port number).  The process for this condition is as
   follows:

   1. The domain name is reduced to its rightmost label.  This is always
      ’.’.

   2. The IRIS [5] direct-resolution process is tried on the domain
      name.

   3. If the direct-resolution process yields no server for which a
      connection can be made, then the original label to the left of the
      rightmost label of the domain name is prepended, and the second
      step is repeated again (e.g., if ".", then "com"; if "com", then
      "example.com").

   4. If all the labels of the original domain are present and no server
      connections have been made, then the DNS is queried for the
      address records corresponding to the original domain name, and the
      port used is the well-known port for the default protocol of IRIS.

7.  Internationalization Considerations

   Implementers should be aware of considerations for
   internationalization in IRIS [5].

   This document specifies the lookup of domain names, both the
   traditional ASCII form and the IDN form.  In addition, the social
   data associated with contacts may also be non-ASCII and could contain
   virtually any Unicode character.  The <language> element is provided
   in queries that have the potential to traverse such data.  Clients
   should use this element to indicate the desired target languages to
   the server, and servers should use this element to better enable
   normalization and search processes (see [18]).

   For clients needing to localize the data tags in this protocol, note
   that localization is only needed on the names of XML elements and
   attributes with the exception of elements containing date and time
   information.  The schema for this registry has been designed so that
   clients need not interpret the content of elements or attributes for
   localization, other than that of elements containing date and time
   information.

   Clients should also make use of the <language> elements provided in
   many of the results.  Results containing data that may be in Unicode
   are accompanied by these elements in order to aid better presentation
   of the data to the user.

   The "dateTimePrivacyType" element type contains the XML Schema [3]
   data type "dateTime".  The contents of this element MUST be specified
   by using the ’Z’ indicator for Coordinated Universal Time (UTC).

8.  IANA Considerations

8.1.  XML Namespace URN Registration

   This document makes use of a proposed XML namespace and schema
   registry specified in XML_URN [16].  Accordingly, the following
   registration information is provided for the IANA:

      o  URN/URI:
         *  urn:ietf:params:xml:ns:dreg1
      o  Contact:
         *  Andrew Newton <andy@hxr.us>
         *  Marcos Sanz <sanz@denic.de>
      o  XML:
         *  The XML Schema specified in Section 4

8.2.  S-NAPTR Registration

   The following S-NAPTR application service label has been registered
   with IANA according to the IANA considerations defined in IRIS [5]:

      DREG1

8.3.  BEEP Registration

   The following BEEP Profile URI has been registered with IANA, in
   addition to the registration provided in IRIS-BEEP [6].

      http://iana.org/beep/iris1/dreg1

9.  Security Considerations

   This document lays out no new considerations for security precautions
   beyond that specified in IRIS [5].

10.  References

10.1.  Normative References

   [1]  World Wide Web Consortium, "Extensible Markup Language (XML)
        1.0", W3C XML, February 1998, <http://www.w3.org/TR/1998/REC-
        xml-19980210>.

   [2]  World Wide Web Consortium, "Namespaces in XML", W3C XML
        Namespaces, January 1999, <http://www.w3.org/TR/1999/REC-xml-
        names-19990114>.

   [3]  World Wide Web Consortium, "XML Schema Part 2: Datatypes", W3C
        XML Schema, October 2000, <http://www.w3.org/TR/2001/REC-
        xmlschema-2-20010502/>.

   [4]  World Wide Web Consortium, "XML Schema Part 1: Structures", W3C
        XML Schema, October 2000, <http://www.w3.org/TR/2001/REC-
        xmlschema-1-20010502/>.

   [5]  Newton, A. and M. Sanz, "IRIS: The Internet Registry Information
        Service (IRIS) Core Protocol", RFC 3981, December 2005.

   [6]  Newton, A. and M. Sanz, "Using the Internet Registry Information
        Service (IRIS) over the Blocks Extensible Exchange Protocol
        (BEEP)", RFC 3983, December 2005.

   [7]  Hinden, R. and S. Deering, "Internet Protocol Version 6 (IPv6)
        Addressing Architecture", RFC 3513, April 2003.

   [8]  Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.

   [9]  Mockapetris, P., "Domain names - implementation and
        specification", STD 13, RFC 1035, November 1987.

   [10] Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [11] International Organization for Standardization, "Codes for the
        representation of names of countries, 3rd edition", ISO Standard
        3166, August 1988.

   [12] Braden, R., "Requirements for Internet Hosts - Application and
        Support", STD 3, RFC 1123, October 1989.

   [13] International Telecommunications Union, "The International
        Public Telecommunication Numbering Plan", ITU-T Recommendation
        E.164, 1991.

   [14] Faltstrom, P., Hoffman, P., and A. Costello, "Internationalizing
        Domain Names in Applications (IDNA)", RFC 3490, March 2003.

   [15] Hoffman, P. and M. Blanchet, "Nameprep: A Stringprep Profile for
        Internationalized Domain Names (IDN)", RFC 3491, March 2003.

   [16] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January
        2004.

10.2.  Informative References

   [17] Newton, A., "Cross Registry Internet Service Protocol (CRISP)
        Requirements", RFC 3707, February 2004.

URIs

   [18] <http://www.unicode.org/reports/tr15/>

Appendix A.  Examples of Requests and Responses

   The examples in this section use the string "C:" to denote data sent
   by a client to a server and the string "S:" to denote data sent by a
   server to a client.

A.1.  Example 1

   The following is an example of an entity lookup in a dreg1 registry
   for the domain-name of ’example.com’.  The response shows the ability
   to specify data as being withheld because it is private.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <lookupEntity
   C:       registryType="urn:ietf:params:xml:ns:dreg1"
   C:       entityClass="domain-name"
   C:       entityName="example.com" />
   C:
   C:   </searchSet>
   C:
   C: </request>

   S: <?xml version="1.0"?>
   S: <iris:response xmlns:iris="urn:ietf:params:xml:ns:iris1"
   S:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <iris:resultSet>
   S:     <iris:answer>
   S:
   S:       <domain xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         authority="iana.org" registryType="dreg1"
   S:         entityClass="domain-handle" entityName="example-com-1">
   S:
   S:         <domainName>example.com</domainName>
   S:         <domainHandle>tcs-com-1</domainHandle>
   S:
   S:         <nameServer iris:referentType="host" authority="iana.org"
   S:           registryType="dreg1" entityClass="host-handle"
   S:           entityName="research7" />
   S:
   S:         <nameServer iris:referentType="host" authority="iana.org"
   S:           registryType="dreg1" entityClass="host-handle"
   S:           entityName="nsol184" />

   S:
   S:         <technicalContact iris:referentType="contact"
   S:           authority="iana.org" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="dbarton" />
   S:
   S:         <status>
   S:           <assignedAndActive denied="true" />
   S:         </status>
   S:
   S:         <registry iris:referentType="registrationAuthority"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="VGRS" />
   S:
   S:         <initialDelegationDateTime xsi:nil="true"/>
   S:
   S:         <iris:seeAlso iris:referentType="ANY" authority="iana.org"
   S:           registryType="dreg1" entityClass="local"
   S:           entityName="notice"  />
   S:
   S:       </domain>
   S:
   S:     </iris:answer>
   S:   </iris:resultSet>
   S: </iris:response>

                          Figure 6: Example 1

A.2.  Example 2

   The following is an example of an entity lookup in a dreg1 registry
   for the contact-handle of ’mak21’.  The response shows the ability to
   specify data as being withheld because it is private.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <lookupEntity
   C:       registryType="urn:ietf:params:xml:ns:dreg1"
   C:       entityClass="contact-handle"
   C:       entityName="mak21" />
   C:
   C:   </searchSet>
   C:
   C: </request>
   S: <?xml version="1.0"?>

   S: <response xmlns="urn:ietf:params:xml:ns:iris1"
   S:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <resultSet>
   S:     <answer>
   S:
   S:       <contact xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         authority="com" registryType="dreg1"
   S:         entityClass="contact-handle" entityName="mak21" >
   S:
   S:         <contactHandle>mak21</contactHandle>
   S:
   S:         <commonName>
   S:           Mark Kosters
   S:         </commonName>
   S:
   S:         <organization>
   S:           VeriSign, Inc.
   S:         </organization>
   S:
   S:         <eMail>markk@verisignlabs.com</eMail>
   S:
   S:         <phone private="true" xsi:nil="true" />
   S:
   S:       </contact>
   S:
   S:     </answer>
   S:   </resultSet>
   S:
   S: </response>

                          Figure 7: Example 2

A.3.  Example 3

   The following is an example of a domain search based on a
   registrant’s name beginning with the string ’The Cobbler Shoppe’.
   This example also shows the use of bags.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <findDomainsByContact
   C:       xmlns="urn:ietf:params:xml:ns:dreg1" >
   C:       <baseDomain>com</baseDomain>

   C:       <commonName>
   C:         <beginsWith>
   C:           The Cobbler Shoppe
   C:         </beginsWith>
   C:       </commonName>
   C:       <role>registrant</role>
   C:     </findDomainsByContact>
   C:
   C:   </searchSet>
   C:
   C: </request>

   S: <?xml version="1.0"?>
   S: <response xmlns="urn:ietf:params:xml:ns:iris1"
   S:           xmlns:iris="urn:ietf:params:xml:ns:iris1"
   S:           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <resultSet>
   S:     <answer>
   S:       <dreg:domain
   S:         xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         xmlns:dreg="urn:ietf:params:xml:ns:dreg1"
   S:         authority="com" registryType="dreg1"
   S:         entityClass="domain-handle" entityName="tcs-com-1" >
   S:         <domainName>example.com</domainName>
   S:         <nameServer
   S:           iris:referentType="dreg:host"
------分隔线----------------------------
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 密码: 验证码:
推荐内容