idnits 2.17.1 draft-ietf-weirds-rdap-query-12.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document date (August 18, 2014) is 3536 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Outdated reference: A later version (-11) exists of draft-ietf-weirds-bootstrap-04 == Outdated reference: A later version (-14) exists of draft-ietf-weirds-json-response-08 == Outdated reference: A later version (-12) exists of draft-ietf-weirds-rdap-sec-07 -- Possible downref: Normative reference to a draft: ref. 'I-D.ietf-weirds-rdap-sec' == Outdated reference: A later version (-15) exists of draft-ietf-weirds-using-http-09 -- Possible downref: Normative reference to a draft: ref. 'I-D.ietf-weirds-using-http' ** Downref: Normative reference to an Unknown state RFC: RFC 952 ** Downref: Normative reference to an Informational RFC: RFC 1166 ** Downref: Normative reference to an Informational RFC: RFC 4290 ** Obsolete normative reference: RFC 7230 (Obsoleted by RFC 9110, RFC 9112) ** Obsolete normative reference: RFC 7231 (Obsoleted by RFC 9110) -- Possible downref: Non-RFC (?) normative reference: ref. 'Unicode-UAX15' -- Obsolete informational reference (is this intentional?): RFC 1594 (Obsoleted by RFC 2664) -- Obsolete informational reference (is this intentional?): RFC 7159 (Obsoleted by RFC 8259) Summary: 5 errors (**), 0 flaws (~~), 5 warnings (==), 6 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group A. Newton 3 Internet-Draft ARIN 4 Intended status: Standards Track S. Hollenbeck 5 Expires: February 19, 2015 Verisign Labs 6 August 18, 2014 8 Registration Data Access Protocol Query Format 9 draft-ietf-weirds-rdap-query-12 11 Abstract 13 This document describes uniform patterns to construct HTTP URLs that 14 may be used to retrieve registration information from registries 15 (including both Regional Internet Registries (RIRs) and Domain Name 16 Registries (DNRs)) using "RESTful" web access patterns. 18 Status of This Memo 20 This Internet-Draft is submitted in full conformance with the 21 provisions of BCP 78 and BCP 79. 23 Internet-Drafts are working documents of the Internet Engineering 24 Task Force (IETF). Note that other groups may also distribute 25 working documents as Internet-Drafts. The list of current Internet- 26 Drafts is at http://datatracker.ietf.org/drafts/current/. 28 Internet-Drafts are draft documents valid for a maximum of six months 29 and may be updated, replaced, or obsoleted by other documents at any 30 time. It is inappropriate to use Internet-Drafts as reference 31 material or to cite them other than as "work in progress." 33 This Internet-Draft will expire on February 19, 2015. 35 Copyright Notice 37 Copyright (c) 2014 IETF Trust and the persons identified as the 38 document authors. All rights reserved. 40 This document is subject to BCP 78 and the IETF Trust's Legal 41 Provisions Relating to IETF Documents 42 (http://trustee.ietf.org/license-info) in effect on the date of 43 publication of this document. Please review these documents 44 carefully, as they describe your rights and restrictions with respect 45 to this document. Code Components extracted from this document must 46 include Simplified BSD License text as described in Section 4.e of 47 the Trust Legal Provisions and are provided without warranty as 48 described in the Simplified BSD License. 50 Table of Contents 52 1. Conventions Used in This Document . . . . . . . . . . . . . . 2 53 1.1. Acronyms and Abbreviations . . . . . . . . . . . . . . . 2 54 2. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 55 3. Path Segment Specification . . . . . . . . . . . . . . . . . 4 56 3.1. Lookup Path Segment Specification . . . . . . . . . . . . 4 57 3.1.1. IP Network Path Segment Specification . . . . . . . . 5 58 3.1.2. Autonomous System Path Segment Specification . . . . 6 59 3.1.3. Domain Path Segment Specification . . . . . . . . . . 6 60 3.1.4. Name Server Path Segment Specification . . . . . . . 7 61 3.1.5. Entity Path Segment Specification . . . . . . . . . . 7 62 3.1.6. Help Path Segment Specification . . . . . . . . . . . 8 63 3.2. Search Path Segment Specification . . . . . . . . . . . . 8 64 3.2.1. Domain Search . . . . . . . . . . . . . . . . . . . . 8 65 3.2.2. Name Server Search . . . . . . . . . . . . . . . . . 10 66 3.2.3. Entity Search . . . . . . . . . . . . . . . . . . . . 10 67 4. Query Processing . . . . . . . . . . . . . . . . . . . . . . 11 68 5. Extensibility . . . . . . . . . . . . . . . . . . . . . . . . 13 69 6. Internationalization Considerations . . . . . . . . . . . . . 13 70 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 14 71 8. Security Considerations . . . . . . . . . . . . . . . . . . . 14 72 9. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 14 73 10. References . . . . . . . . . . . . . . . . . . . . . . . . . 15 74 10.1. Normative References . . . . . . . . . . . . . . . . . . 15 75 10.2. Informative References . . . . . . . . . . . . . . . . . 17 76 Appendix A. Change Log . . . . . . . . . . . . . . . . . . . . . 17 77 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 18 79 1. Conventions Used in This Document 81 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 82 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 83 document are to be interpreted as described in RFC 2119 [RFC2119]. 85 1.1. Acronyms and Abbreviations 87 IDN: Internationalized Domain Name 88 IDNA: Internationalized Domain Names in Applications 89 DNR: Domain Name Registry 90 NFC: Unicode Normalization Form C 91 NFKC: Unicode Normalization Form KC 92 RDAP: Registration Data Access Protocol 93 REST: Representational State Transfer State Transfer. The term 94 was first described in a doctoral dissertation [REST]. 95 RESTful: An adjective that describes a service using HTTP and the 96 principles of REST. 97 RIR: Regional Internet Registry 99 2. Introduction 101 This document describes a specification for querying registration 102 data using a RESTful web service and uniform query patterns. The 103 service is implemented using the Hypertext Transfer Protocol (HTTP) 104 [RFC7230]. 106 The protocol described in this specification is intended to address 107 deficiencies with the WHOIS protocol [RFC3912] that have been 108 identified over time, including: 110 o Lack of standardized command structures, 111 o lack of standardized output and error structures, 112 o lack of support for internationalization and localization, and 113 o lack of support for user identification, authentication, and 114 access control. 116 The patterns described in this document purposefully do not encompass 117 all of the methods employed in the WHOIS and RESTful web services of 118 all of the RIRs and DNRs. The intent of the patterns described here 119 are to enable queries of: 121 o networks by IP address, 122 o autonomous system numbers by number, 123 o reverse DNS meta-data by domain, 124 o name servers by name, 125 o registrars by name, and 126 o entities (such as contacts) by identifier. 128 It is envisioned that each registry will continue to maintain 129 NICNAME/WHOIS and/or RESTful web services specific to their needs and 130 those of their constituencies, and the information retrieved through 131 the patterns described here may reference such services. 133 Likewise, future IETF standards may add additional patterns for 134 additional query types. A simple pattern namespacing scheme is 135 described in Section 5 to accommodate custom extensions that will not 136 interfere with the patterns defined in this document or patterns 137 defined in future IETF standards. 139 WHOIS services, in general, are read-only services. Therefore URL 140 [RFC3986] patterns specified in this document are only applicable to 141 the HTTP [RFC7231] GET and HEAD methods. 143 This document does not describe the results or entities returned from 144 issuing the described URLs with an HTTP GET. JSON [RFC7159] result 145 formatting and processing is described in 146 [I-D.ietf-weirds-json-response]. 148 Additionally, resource management, provisioning and update functions 149 are out of scope for this document. Registries have various and 150 divergent methods covering these functions, and it is unlikely a 151 uniform approach for these functions will ever be possible. 153 HTTP contains mechanisms for servers to authenticate clients and for 154 clients to authenticate servers (from which authorization schemes may 155 be built) so such mechanisms are not described in this document. 156 Policy, provisioning, and processing of authentication and 157 authorization are out-of-scope for this document as deployments will 158 have to make choices based on local criteria. Specified 159 authentication mechanisms MUST use HTTP. 161 3. Path Segment Specification 163 The base URLs used to construct RDAP queries are maintained in an 164 IANA registry described in [I-D.ietf-weirds-bootstrap]. Queries are 165 formed by retrieving the appropriate base URL from the registry and 166 appending a path segment specified in either Section 3.1 or 167 Section 3.2. Generally, a registry or other service provider will 168 provide a base URL that identifies the protocol, host and port, and 169 this will be used as a base URL that the complete URL is resolved 170 against, as per Section 5 of RFC 3986 [RFC3986]. For example, if the 171 base URL is "http://example.com/rdap/", all RDAP query URLs will 172 begin with "http://example.com/rdap/". 174 The bootstrap registry does not contain information for query objects 175 that are not part of a global namespace, including entities and help. 176 A base URL for an associated object is required to construct a 177 complete query. 179 For entities: Retrieve a base URL for the service (domain, address, 180 etc.) associated with a given entity. The query URL is constructed 181 by concatenating the base URL to the entity path segment specified in 182 either Section 3.1.5 or Section 3.2.3. 184 For help: Retrieve a base URL for any service (domain, address, etc.) 185 for which additional information is required. The query URL is 186 constructed by concatenating the base URL to the help path segment 187 specified in either Section 3.1.6. 189 3.1. Lookup Path Segment Specification 191 The resource type path segments for exact match lookup are: 193 o 'ip': Used to identify IP networks and associated data referenced 194 using either an IPv4 or IPv6 address. 196 o 'autnum': Used to identify autonomous system registrations and 197 associated data referenced using an AS Plain autonomous system 198 number. 199 o 'domain': Used to identify reverse DNS (RIR) or domain name (DNR) 200 information and associated data referenced using a fully-qualified 201 domain name. 202 o 'nameserver': Used to identify a name server information query 203 using a host name. 204 o 'entity': Used to identify an entity information query using a 205 string identifier. 207 3.1.1. IP Network Path Segment Specification 209 Syntax: ip/ or ip// 211 Queries for information about IP networks are of the form /ip/XXX/... 212 or /ip/XXX/YY/... where the path segment following 'ip' is either an 213 IPv4 [RFC1166] or IPv6 [RFC5952] address (i.e. XXX) or an IPv4 or 214 IPv6 CIDR [RFC4632] notation address block (i.e. XXX/YY). 215 Semantically, the simpler form using the address can be thought of as 216 a CIDR block with a bitmask length of 32 for IPv4 and a bitmask 217 length of 128 for IPv6. A given specific address or CIDR may fall 218 within multiple IP networks in a hierarchy of networks, therefore 219 this query targets the "most-specific" or smallest IP network which 220 completely encompasses it in a hierarchy of IP networks. 222 The IPv4 and IPv6 address formats supported in this query are 223 described in section 3.2.2 of [RFC3986], as IPv4address and 224 IPv6address ABNF definitions. Any valid IPv6 text address format 225 [RFC4291] can be used, compressed or not compressed. The restricted 226 rules to write a text representation of an IPv6 address [RFC5952] are 227 not mandatory. However, the zone id [RFC4007] is not appropriate in 228 this context and therefore prohibited. 230 For example, the following URL would be used to find information for 231 the most specific network containing 192.0.2.0: 233 http://example.com/rdap/ip/192.0.2.0 235 The following URL would be used to find information for the most 236 specific network containing 192.0.2.0/24: 238 http://example.com/rdap/ip/192.0.2.0/24 240 The following URL would be used to find information for the most 241 specific network containing 2001:db8::0: 243 http://example.com/rdap/ip/2001:db8::0 245 3.1.2. Autonomous System Path Segment Specification 247 Syntax: autnum/ 249 Queries for information regarding autonomous system number 250 registrations are of the form /autnum/XXX/... where XXX is an AS 251 Plain autonomous system number [RFC5396]. In some registries, 252 registration of autonomous system numbers is done on an individual 253 number basis, while other registries may register blocks of 254 autonomous system numbers. The semantics of this query are such that 255 if a number falls within a range of registered blocks, the target of 256 the query is the block registration, and that individual number 257 registrations are considered a block of numbers with a size of 1. 259 For example, the following URL would be used to find information 260 describing autonomous system number 12 (a number within a range of 261 registered blocks): 263 http://example.com/rdap/autnum/12 265 The following URL would be used to find information describing 4-byte 266 autonomous system number 65538: 268 http://example.com/rdap/autnum/65538 270 3.1.3. Domain Path Segment Specification 272 Syntax: domain/ 274 Queries for domain information are of the form /domain/XXXX/..., 275 where XXXX is a fully-qualified (relative to the root) domain name 276 [RFC1594] in either the in-addr.arpa or ip6.arpa zones (for RIRs) or 277 a fully-qualified domain name in a zone administered by the server 278 operator (for DNRs). Internationalized domain names represented in 279 either A-label or U-label format [RFC5890] are also valid domain 280 names. IDNs SHOULD NOT be represented as a mixture of A-labels and 281 U-labels; that is, all internationalized labels in an IDN SHOULD be 282 either A-labels or U-labels. 284 If the client sends the server an IDN in U-label format, servers that 285 support IDNs MUST convert the IDN into A-label format and perform 286 IDNA processing as specified in RFC 5891 [RFC5891]. The server 287 should perform an exact match lookup using the A-label. 289 The following URL would be used to find information describing the 290 zone serving the network 192.0.2/24: 292 http://example.com/rdap/domain/2.0.192.in-addr.arpa 293 The following URL would be used to find information describing the 294 zone serving the network 2001:db8:1::/48: 296 http://example.com/rdap/domain/1.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa 298 The following URL would be used to find information for the 299 blah.example.com domain name: 301 http://example.com/rdap/domain/blah.example.com 303 The following URL would be used to find information for the 304 xn--fo-5ja.example IDN: 306 http://example.com/rdap/domain/xn--fo-5ja.example 308 3.1.4. Name Server Path Segment Specification 310 Syntax: nameserver/ 312 The parameter represents a fully qualified name as 313 specified in RFC 952 [RFC0952] and RFC 1123 [RFC1123]. 314 Internationalized names represented in either A-label or U-label 315 format [RFC5890] are also valid name server names. IDNs SHOULD NOT 316 be represented as a mixture of A-labels and U-labels; that is, all 317 internationalized labels in an IDN SHOULD be either A-labels or 318 U-labels. 320 If the client sends the server an IDN in U-label format, servers that 321 support IDNs MUST convert the IDN into A-label format and perform 322 IDNA processing as specified in RFC 5891 [RFC5891]. The server 323 should perform an exact match lookup using the A-label. 325 The following URL would be used to find information for the 326 ns1.example.com name server: 328 http://example.com/rdap/nameserver/ns1.example.com 330 The following URL would be used to find information for the 331 ns1.xn--fo-5ja.example name server: 333 http://example.com/rdap/nameserver/ns1.xn--fo-5ja.example 335 3.1.5. Entity Path Segment Specification 337 Syntax: entity/ 339 The parameter represents an entity (such as a contact, 340 registrant, or registrar) identifier. For example, for some DNRs 341 contact identifiers are specified in RFC 5730 [RFC5730] and RFC 5733 342 [RFC5733]. 344 The following URL would be used to find information for the entity 345 associated with handle XXXX: 347 http://example.com/rdap/entity/XXXX 349 3.1.6. Help Path Segment Specification 351 Syntax: help 353 The help path segment can be used to request helpful information 354 (command syntax, terms of service, privacy policy, rate limiting 355 policy, supported authentication methods, supported extensions, 356 technical support contact, etc.) from an RDAP server. The response 357 to "help" should provide basic information that a client needs to 358 successfully use the service. The following URL would be used to 359 return "help" information: 361 http://example.com/rdap/help 363 3.2. Search Path Segment Specification 365 The resource type path segments for search are: 367 o 'domains': Used to identify a domain name information search using 368 a pattern to match a fully-qualified domain name. 369 o 'nameservers': Used to identify a name server information search 370 using a pattern to match a host name. 371 o 'entities': Used to identify an entity information search using a 372 pattern to match a string identifier. 374 RDAP search path segments are formed using a concatenation of the 375 plural form of the object being searched for, a forward slash 376 character ('/', ASCII value 0x002F), and an HTTP query string. The 377 HTTP query string is formed using a concatenation of the question 378 mark character ('?', ASCII value 0x003F), the JSON object value 379 associated with the object being searched for, the equal sign 380 character ('=', ASCII value 0x003D), and the search pattern. For the 381 domain and entity objects described in this document the plural 382 object forms are "domains" and "entities". 384 3.2.1. Domain Search 386 Syntax: domains?name= 388 Syntax: domains?nsLdhName= 389 Syntax: domains?nsIp= 391 Searches for domain information by name are specified using this 392 form: 394 /domains?name=XXXX 396 XXXX is a search pattern representing a domain name in "letters, 397 digits, hyphen" format [RFC5890] in a zone administered by the server 398 operator of a DNR. The following URL would be used to find DNR 399 information for domain names matching the "example*.com" pattern: 401 http://example.com/rdap/domains?name=example*.com 403 Internationalized Domain Names (IDNs) in U-label format [RFC5890] can 404 also be used as search patterns (see Section 4). Searches for these 405 names are of the form /domains?name=XXXX, where XXXX is a search 406 pattern representing a domain name in U-label format [RFC5890]. 408 Searches for domain information by name server name are specified 409 using this form: 411 /domains?nsLdhName=YYYY 413 YYYY is a search pattern representing a host name in "letters, 414 digits, hyphen" format [RFC5890] in a zone administered by the server 415 operator of a DNR. The following URL would be used to search for 416 domains delegated to name servers matching the "ns1.example*.com" 417 pattern: 419 http://example.com/rdap/domains?nsLdhName=ns1.example*.com 421 Searches for domain information by name server IP address are 422 specified using this form: 424 /domains?nsIp=ZZZZ 426 ZZZZ is a search pattern representing an IPv4 [RFC1166] or IPv6 427 [RFC5952] address. The following URL would be used to search for 428 domains that have been delegated to name servers that resolve to the 429 "192.0.2.0" address: 431 http://example.com/rdap/domains?nsIp=192.0.2.0 433 3.2.2. Name Server Search 435 Syntax: nameservers?name= 437 Syntax: nameservers?ip= 439 Searches for name server information by name server name are 440 specified using this form: 442 /nameservers?name=XXXX 444 XXXX is a search pattern representing a host name in "letters, 445 digits, hyphen" format [RFC5890] in a zone administered by the server 446 operator of a DNR. The following URL would be used to find DNR 447 information for name server names matching the "ns1.example*.com" 448 pattern: 450 http://example.com/rdap/nameservers?name=ns1.example*.com 452 Internationalized name server names in U-label format [RFC5890] can 453 also be used as search patterns (see Section 4). Searches for these 454 names are of the form /nameservers?name=XXXX, where XXXX is a search 455 pattern representing a name server name in U-label format [RFC5890]. 457 Searches for name server information by name server IP address are 458 specified using this form: 460 /nameservers?ip=YYYY 462 YYYY is a search pattern representing an IPv4 [RFC1166] or IPv6 463 [RFC5952] address. The following URL would be used to search for 464 name server names that resolve to the "192.0.2.0" address: 466 http://example.com/rdap/nameservers?ip=192.0.2.0 468 3.2.3. Entity Search 470 Syntax: entities?fn= 472 Syntax: entities?handle= 474 Searches for entity information by name are specified using this 475 form: 477 /entities?fn=XXXX 479 where XXXX is a search pattern representing an entity name as 480 specified in Section 6.1 of [I-D.ietf-weirds-json-response]. The 481 following URL would be used to find information for entity names 482 matching the "Bobby Joe*" pattern. 484 http://example.com/rdap/entities?fn=Bobby%20Joe* 486 Searches for entity information by handle are specified using this 487 form: 489 /entities?handle=XXXX 491 where XXXX is a search pattern representing an entity handle as 492 specified in Section 6.1 of [I-D.ietf-weirds-json-response]. The 493 following URL would be used to find information for entity names 494 matching the "CID-40*" pattern. 496 http://example.com/rdap/entities?handle=CID-40* 498 URLs MUST be properly encoded according to the rules of [RFC3986]. 499 In the example above, "Bobby Joe*" is encoded to "Bobby%20Joe*". 501 4. Query Processing 503 Servers indicate the success or failure of query processing by 504 returning an appropriate HTTP response code to the client. Response 505 codes not specifically identified in this document are described in 506 [I-D.ietf-weirds-using-http]. 508 Partial string searching uses the asterisk ('*', ASCII value 0x002A) 509 character to match zero or more trailing characters. A character 510 string representing multiple domain name labels MAY be concatenated 511 to the end of the search pattern to limit the scope of the search. 512 For example, the search pattern "exam*" will match "example.com" and 513 "example.net". The search pattern "exam*.com" will match 514 "example.com". Note that these search patterns include implied 515 beginning and end of string regular expression markers, and the 516 "example*.com" search would be translated into a POSIX regular 517 expression as "^example.*\.com$". Additional pattern matching 518 processing is beyond the scope of this specification. 520 If a server receives a search request but cannot process the request 521 because it does not support a particular style of partial match 522 searching, it SHOULD return an HTTP 422 [RFC4918] error. When 523 returning a 422 error, the server MAY also return an error response 524 body as specified in Section 7 of [I-D.ietf-weirds-json-response] if 525 the requested media type is one that is specified in 526 [I-D.ietf-weirds-using-http]. 528 Partial matching is not feasible across combinations of Unicode 529 characters because Unicode characters can be combined with another 530 Unicode character or characters. Servers SHOULD NOT partially match 531 combinations of Unicode characters where a Unicode character may be 532 legally combined with another Unicode character or characters. 533 Clients should avoid submitting a partial match search of Unicode 534 characters where a Unicode character may be legally combined with 535 another Unicode character or characters. Partial match searches with 536 incomplete combinations of characters where a character must be 537 combined with another character or characters are invalid. Partial 538 match searches with characters that may be combined with another 539 character or characters are to be considered non-combined characters 540 (that is, if character x may be combined with character y but 541 character y is not submitted in the search string then character x is 542 a complete character and no combinations of character x are to be 543 searched). 545 Servers can expect to receive search patterns from clients that 546 contain character strings encoded in different forms supported by 547 HTTP. It is entirely possible to apply filters and normalization 548 rules to search patterns prior to making character comparisons, but 549 this type of processing is more typically needed to determine the 550 validity of registered strings than to match patterns. 552 An RDAP client submitting a query string containing non-US-ASCII 553 characters converts such strings into Unicode in UTF-8 encoding. It 554 then performs any local case mapping deemed necessary. Strings are 555 normalized using Normalization Form C (NFC, [Unicode-UAX15]); note 556 that clients might not be able to do this reliably. 558 An RDAP server treats each query string as Unicode in UTF-8 encoding. 559 If a string is not valid UTF-8, the server can immediately stop 560 processing the query and return an HTTP 400 error response code. 562 When processing queries, there is a difference in handling DNS names, 563 including those including putative U-labels, and everything else. 564 DNS names are treated according to the DNS matching rules as 565 described in Section 3.1 of RFC 1035 [RFC1035] for NR-LDH labels and 566 the matching rules described in Section 5.4 of RFC 5891 [RFC5891] for 567 U-labels. Matching of DNS names proceeds one label at a time, 568 because it is possible for a combination of U-labels and NR-LDH 569 labels to be found in a single domain or host name. The 570 determination of whether a label is a U-label or an NR-LDH label is 571 based on whether the label contains any characters outside of the US- 572 ASCII letters, digits, or hyphen (the so-called LDH rule). 574 For everything else, servers map fullwidth and halfwidth characters 575 to their decomposition equivalents. Servers convert strings to the 576 same coded character set of the target data that is to be looked up 577 or searched and each string is normalized using the same 578 normalization that was used on the target data. In general, storage 579 of strings as Unicode is RECOMMENDED. For the purposes of 580 comparison, Normalization Form KC (NFKC, [Unicode-UAX15]) with case 581 folding is used to maximize predictability and the number of matches. 582 Note the use of case-folded NFKC as opposed to NFC in this case. 584 Conceptually, a name-record in a database may include a link to an 585 associated name-record, which may include a link to another such 586 record, and so on. If an implementation is to return more than one 587 name-record in response to a query, information from the records 588 thereby identified is returned. 590 Note that this model includes arrangements for associated names, 591 including those that are linked by policy mechanisms and names bound 592 together for some other purposes. Note also that returning 593 information that was not explicitly selected by an exact-match 594 lookup, including additional names that match a relatively fuzzy 595 search as well as lists of names that are linked together, may cause 596 privacy issues. 598 5. Extensibility 600 This document describes path segment specifications for a limited 601 number of objects commonly registered in both RIRs and DNRs. It does 602 not attempt to describe path segments for all of the objects 603 registered in all registries. Custom path segments can be created 604 for objects not specified here using the process described in 605 Section 6 of "HTTP usage in the Registration Data Access Protocol 606 (RDAP)" [I-D.ietf-weirds-using-http]. 608 Custom path segments can be created by prefixing the segment with a 609 unique identifier followed by an underscore character (0x5F). For 610 example, a custom entity path segment could be created by prefixing 611 "entity" with "custom_", producing "custom_entity". Servers MUST 612 return an appropriate failure status code for a request with an 613 unrecognized path segment. 615 6. Internationalization Considerations 617 There is value in supporting the ability to submit either a U-label 618 (Unicode form of an IDN label) or an A-label (ASCII form of an IDN 619 label) as a query argument to an RDAP service. Clients capable of 620 processing non-ASCII characters may prefer a U-label since this is 621 more visually recognizable and familiar than A-label strings, but 622 clients using programmatic interfaces might find it easier to submit 623 and display A-labels if they are unable to input U-labels with their 624 keyboard configuration. Both query forms are acceptable. 626 Internationalized domain and name server names can contain character 627 variants and variant labels as described in RFC 4290 [RFC4290]. 628 Clients that support queries for internationalized domain and name 629 server names MUST accept service provider responses that describe 630 variants as specified in "JSON Responses for the Registration Data 631 Access Protocol" [I-D.ietf-weirds-json-response]. 633 7. IANA Considerations 635 This document does not specify any IANA actions. 637 8. Security Considerations 639 Security services for the operations specified in this document are 640 described in "Security Services for the Registration Data Access 641 Protocol" [I-D.ietf-weirds-rdap-sec]. 643 Search functionality typically requires more server resources (such 644 as memory, CPU cycles, and network bandwidth) when compared to basic 645 lookup functionality. This increases the risk of server resource 646 exhaustion and subsequent denial of service due to abuse. This risk 647 can be mitigated by developing and implementing controls to restrict 648 search functionality to identified and authorized clients. If those 649 clients behave badly, their search privileges can be suspended or 650 revoked. Rate limiting as described in Section 5.5 of "HTTP usage in 651 the Registration Data Access Protocol (RDAP)" 652 [I-D.ietf-weirds-using-http] can also be used to control the rate of 653 received search requests. Server operators can also reduce their 654 risk by restricting the amount of information returned in response to 655 a search request. 657 Search functionality also increases the privacy risk of disclosing 658 object relationships that might not otherwise be obvious. For 659 example, a search that returns IDN variants [RFC6927] that do not 660 explicitly match a client-provided search pattern can disclose 661 information about registered domain names that might not be otherwise 662 available. Implementers need to consider the policy and privacy 663 implications of returning information that was not explicitly 664 requested. 666 9. Acknowledgements 668 This document is derived from original work on RIR query formats 669 developed by Byron J. Ellacott of APNIC, Arturo L. Servin of 670 LACNIC, Kaveh Ranjbar of the RIPE NCC, and Andrew L. Newton of ARIN. 672 Additionally, this document incorporates DNR query formats originally 673 described by Francisco Arias and Steve Sheng of ICANN and Scott 674 Hollenbeck of Verisign Labs. 676 The authors would like to acknowledge the following individuals for 677 their contributions to this document: Francisco Arias, Marc Blanchet, 678 Ernie Dainow, Jean-Philippe Dionne, Behnam Esfahbod, John Klensin, 679 Edward Lewis, John Levine, Mark Nottingham, and Andrew Sullivan. 681 10. References 683 10.1. Normative References 685 [I-D.ietf-weirds-bootstrap] 686 Blanchet, M. and G. Leclanche, "Finding the Authoritative 687 Registration Data (RDAP) Service", draft-ietf-weirds- 688 bootstrap-04 (work in progress), July 2014. 690 [I-D.ietf-weirds-json-response] 691 Newton, A. and S. Hollenbeck, "JSON Responses for the 692 Registration Data Access Protocol (RDAP)", draft-ietf- 693 weirds-json-response-08 (work in progress), August 2014. 695 [I-D.ietf-weirds-rdap-sec] 696 Hollenbeck, S. and N. Kong, "Security Services for the 697 Registration Data Access Protocol", draft-ietf-weirds- 698 rdap-sec-07 (work in progress), August 2014. 700 [I-D.ietf-weirds-using-http] 701 Newton, A., Ellacott, B., and N. Kong, "HTTP usage in the 702 Registration Data Access Protocol (RDAP)", draft-ietf- 703 weirds-using-http-09 (work in progress), August 2014. 705 [RFC0952] Harrenstien, K., Stahl, M., and E. Feinler, "DoD Internet 706 host table specification", RFC 952, October 1985. 708 [RFC1035] Mockapetris, P., "Domain names - implementation and 709 specification", STD 13, RFC 1035, November 1987. 711 [RFC1123] Braden, R., "Requirements for Internet Hosts - Application 712 and Support", STD 3, RFC 1123, October 1989. 714 [RFC1166] Kirkpatrick, S., Stahl, M., and M. Recker, "Internet 715 numbers", RFC 1166, July 1990. 717 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 718 Requirement Levels", BCP 14, RFC 2119, March 1997. 720 [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform 721 Resource Identifier (URI): Generic Syntax", STD 66, RFC 722 3986, January 2005. 724 [RFC4290] Klensin, J., "Suggested Practices for Registration of 725 Internationalized Domain Names (IDN)", RFC 4290, December 726 2005. 728 [RFC4291] Hinden, R. and S. Deering, "IP Version 6 Addressing 729 Architecture", RFC 4291, February 2006. 731 [RFC4632] Fuller, V. and T. Li, "Classless Inter-domain Routing 732 (CIDR): The Internet Address Assignment and Aggregation 733 Plan", BCP 122, RFC 4632, August 2006. 735 [RFC4918] Dusseault, L., "HTTP Extensions for Web Distributed 736 Authoring and Versioning (WebDAV)", RFC 4918, June 2007. 738 [RFC5396] Huston, G. and G. Michaelson, "Textual Representation of 739 Autonomous System (AS) Numbers", RFC 5396, December 2008. 741 [RFC5730] Hollenbeck, S., "Extensible Provisioning Protocol (EPP)", 742 STD 69, RFC 5730, August 2009. 744 [RFC5733] Hollenbeck, S., "Extensible Provisioning Protocol (EPP) 745 Contact Mapping", STD 69, RFC 5733, August 2009. 747 [RFC5890] Klensin, J., "Internationalized Domain Names for 748 Applications (IDNA): Definitions and Document Framework", 749 RFC 5890, August 2010. 751 [RFC5891] Klensin, J., "Internationalized Domain Names in 752 Applications (IDNA): Protocol", RFC 5891, August 2010. 754 [RFC5952] Kawamura, S. and M. Kawashima, "A Recommendation for IPv6 755 Address Text Representation", RFC 5952, August 2010. 757 [RFC7230] Fielding, R. and J. Reschke, "Hypertext Transfer Protocol 758 (HTTP/1.1): Message Syntax and Routing", RFC 7230, June 759 2014. 761 [RFC7231] Fielding, R. and J. Reschke, "Hypertext Transfer Protocol 762 (HTTP/1.1): Semantics and Content", RFC 7231, June 2014. 764 [Unicode-UAX15] 765 The Unicode Consortium, "Unicode Standard Annex #15: 766 Unicode Normalization Forms", September 2013, 767 . 769 10.2. Informative References 771 [REST] Fielding, R. and R. Taylor, "Principled Design of the 772 Modern Web Architecture", ACM Transactions on Internet 773 Technology Vol. 2, No. 2, May 2002. 775 [RFC1594] Marine, A., Reynolds, J., and G. Malkin, "FYI on Questions 776 and Answers - Answers to Commonly asked "New Internet 777 User" Questions", RFC 1594, March 1994. 779 [RFC3912] Daigle, L., "WHOIS Protocol Specification", RFC 3912, 780 September 2004. 782 [RFC4007] Deering, S., Haberman, B., Jinmei, T., Nordmark, E., and 783 B. Zill, "IPv6 Scoped Address Architecture", RFC 4007, 784 March 2005. 786 [RFC6927] Levine, J. and P. Hoffman, "Variants in Second-Level Names 787 Registered in Top-Level Domains", RFC 6927, May 2013. 789 [RFC7159] Bray, T., "The JavaScript Object Notation (JSON) Data 790 Interchange Format", RFC 7159, March 2014. 792 Appendix A. Change Log 794 Initial -00: Adopted as working group document. 795 -01: Added "Conventions Used in This Document" section. Added 796 normative reference to draft-ietf-weirds-rdap-sec and some 797 wrapping text in the Security Considerations section. 798 -02: Removed "unified" from the title. Rewrote the last paragraph 799 of section 2. Edited the first paragraph of section 3 to more 800 clearly note that only one path segment is provided. Added 801 "bitmask" to "length" in section 3.1. Changed "lowest IP network" 802 to "smallest IP network" in section 3.1. Added "asplain" to the 803 description of autonomous system numbers in section 3.2. Minor 804 change from "semantics is" to "semantics are" in section 3.2. 805 Changed the last sentence in section 4 to more clearly specify 806 error response behavior. Added acknowledgements. Added a 807 paragraph in the introduction regarding future IETF standards and 808 extensibility. 809 -03: Changed 'query' to 'lookup' in document title to better 810 describe the 'exact match lookup' purpose of this document. 811 Included a multitude of minor additions and clarifications 812 provided by Marc Blanchet and Jean-Philippe Dionne. Modified the 813 domain and name server sections to include support for IDN 814 U-labels. 816 -04: Updated the domain and name server sections to use .example IDN 817 U-labels. Added text to note that mixed IDN labels SHOULD NOT be 818 used. Fixed broken sentences in Section 6. 819 -05: Added "help" path segment. 820 -06: Added search text and removed or edited old search text. 821 -07: Fixed query parameter typo by replacing "/?" with "?". Changed 822 "asplain" to "AS Plain". Added entity search by handle. 823 Corrected section references. Updated IDN search text. 824 -08: Revised URI formats and added IANA instructions to create a 825 registry entry for the "rdap" well-known prefix. Revised search 826 processing text and added search privacy consideration. 827 Synchronized examples with response draft. 828 -09: More search processing and URI prefix updates. Updated fully- 829 qualified domain name reference. 830 -10: Added name server search by IP address. 831 -11: Replaced reference to RFC 4627 with reference to RFC 7159. 832 Replaced .well-known with bootstrap-defined prefix. Replaced 833 references to RFC 2616 with references to RFC 7231 and draft-ietf- 834 httpbis-http2, adding a note to make it clear that 2616 is an 835 acceptable reference if http2 isn't ready when needed. 836 -12: IDN label processing clarification. Added domain search by 837 name server name and name server IP address. Minor text editing 838 for consistency in the search sections. Replaced reference to 839 draft-ietf-httpbis-http2 with a reference to RFC 7230 and removed 840 reference note. 842 Authors' Addresses 844 Andrew Lee Newton 845 American Registry for Internet Numbers 846 3635 Concorde Parkway 847 Chantilly, VA 20151 848 US 850 Email: andy@arin.net 851 URI: http://www.arin.net 853 Scott Hollenbeck 854 Verisign Labs 855 12061 Bluemont Way 856 Reston, VA 20190 857 US 859 Email: shollenbeck@verisign.com 860 URI: http://www.verisignlabs.com/