1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
|
<pre>Internet Engineering Task Force (IETF) P. Faltstrom
Request for Comments: 7553 Netnod
Category: Informational O. Kolkman
ISSN: 2070-1721 ISOC
June 2015
<span class="h1">The Uniform Resource Identifier (URI) DNS Resource Record</span>
Abstract
This document describes the already registered DNS resource record
(RR) type, called the Uniform Resource Identifier (URI) RR, that is
used for publishing mappings from hostnames to URIs.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7553">http://www.rfc-editor.org/info/rfc7553</a>.
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Faltstrom & Kolkman Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-2">2</a>. Applicability Statement . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. DNS Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4">4</a>. The Format of the URI RR . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4.1">4.1</a>. Owner Name, Class, and Type . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4.2">4.2</a>. Priority . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4.3">4.3</a>. Weight . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4.4">4.4</a>. Target . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-4.5">4.5</a>. URI RDATA Wire Format . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5">5</a>. Usages . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-5.1">5.1</a>. Example: FTP Server in the example.com Domain . . . . . . <a href="#page-6">6</a>
<a href="#section-5.2">5.2</a>. Relation to S-NAPTR . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.3">5.3</a>. Relation to U-NAPTR . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-5.4">5.4</a>. Relation to SRV . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-6">6</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-6.1">6.1</a>. Registration of the URI Resource Record Type . . . . . . <a href="#page-7">7</a>
<a href="#section-6.2">6.2</a>. Registration of Services . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-7">7</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-8">8</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-8.1">8.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-8.2">8.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#appendix-A">Appendix A</a>. The Original RRTYPE Allocation Request . . . . . . . <a href="#page-11">11</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-14">14</a>
<span class="grey">Faltstrom & Kolkman Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document explains the use of the Domain Name System (DNS) for
the storage of URIs [<a href="./rfc3986" title=""Uniform Resource Identifier (URI): Generic Syntax"">RFC3986</a>] and how to resolve hostnames to such
URIs that can be used by various applications using the URI resource
record type. For resolution, the application needs to know both the
hostname and the protocol that the URI is to be used for. The
protocol is registered by IANA.
Historically, uses of the DNS to map a domain name to a URL have
relied on the Naming Authority Pointer (NAPTR) RRTYPEs [<a href="./rfc2915" title=""The Naming Authority Pointer (NAPTR) DNS Resource Record"">RFC2915</a>] and
then on the Dynamic Delegation Discovery System (DDDS) [<a href="./rfc3401" title=""Dynamic Delegation Discovery System (DDDS) Part One: The Comprehensive DDDS"">RFC3401</a>]
application framework with the DNS as a database as specified in <a href="./rfc3404">RFC</a>
<a href="./rfc3404">3404</a> [<a href="./rfc3404" title=""Dynamic Delegation Discovery System (DDDS) Part Four: The Uniform Resource Identifiers (URI)"">RFC3404</a>]. This has a number of implications such as the fact
the RRSet returned will contain all URIs "connected" with the owner,
and not only the ones related to a specific service.
The URI resource record specified in this document enables the
querying party to do the equivalent of selecting which of the NAPTR
records one is interested in and have only those returned. This is
possible because data in the service field of the NAPTR record is
included in the owner part of the URI resource record type. It is
also the case that as the URI resource record type includes the
target URI directly as part of the RDATA, it is very easy to extract
the correct target URI, instead of applying rewrite rules as in
NAPTR.
Querying for URI resource records is not replacing querying for NAPTR
resource records (or use of S-NAPTR [<a href="./rfc3958" title=""Domain-Based Application Service Location Using SRV RRs and the Dynamic Delegation Discovery Service (DDDS)"">RFC3958</a>]). Instead, the URI
resource record type provides a complementary mechanism to be used
when one already knows what service field is interesting. With it,
one can directly query for the specific subset of the otherwise
possibly large RRSet returned when querying for NAPTR resource
records.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>
[<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Applicability Statement</span>
In general, it is expected that URI records will be used by clients
for applications where the relevant protocol to be used is known,
but, for example, an extra abstraction is needed in order to separate
a domain name from a point of service (as addressed by the URI). One
example of such a situation is when an organization has many domain
names but only one official web page.
<span class="grey">Faltstrom & Kolkman Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
Applications need to know the specific service to prepend the
hostname with. Using repetitive queries for URI records is not a
replacement for querying for NAPTR records according to the NAPTR
(DDDS) or S-NAPTR algorithms. NAPTR records serve the purpose of
discovering the various services or the URIs (for looking up access
points for a given service). These are two very different kinds of
needs.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. DNS Considerations</span>
Using prefix labels, such as underscored service tags, for a specific
owner name may cause a counter-intuitive effect when the owner name
is a wildcard name. For example, _s2._s1.*.example.net is not a
wildcard name and cannot be used to return a synthesized answer for a
query name of _s2._s1.a.example.net. See <a href="./rfc4592#section-4.5">Section 4.5 of RFC 4592</a>
[<a href="./rfc4592" title=""The Role of Wildcards in the Domain Name System"">RFC4592</a>] for more details. Besides, underscored service tags used
for the URI RR (based on the "Service Name and Transport Protocol
Port Number Registry") may have slightly different semantics than
service tags used for underscored prefix labels that are used in
combination with other (yet unspecified) RR types. This may cause
subtle management problems when delegation structure that has
developed within the context of URI RRs is also to be used for other
RR types. Because the service labels might be overloaded,
applications should carefully check that the application-level
protocol is indeed the protocol they expect.
Subtle management issues may also arise when the delegations from
service to sub-service labels involve several parties and different
stakeholders.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. The Format of the URI RR</span>
This is the presentation format of the URI RR:
Owner name TTL Class URI Priority Weight Target
The URI RR does not cause any kind of Additional Section processing.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Owner Name, Class, and Type</span>
The URI owner name is subject to special conventions.
Just like the SRV RR [<a href="./rfc2782" title=""A DNS RR for specifying the location of services (DNS SRV)"">RFC2782</a>], the URI RR has service information
encoded in its owner name. In order to encode the service for a
specific owner name, one uses service parameters. Valid service
parameters are those registered by IANA in the "Service Name and
Transport Protocol Port Number Registry" [<a href="./rfc6335" title=""Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry"">RFC6335</a>] or as "Enumservice
<span class="grey">Faltstrom & Kolkman Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
Registrations [<a href="./rfc6117" title=""IANA Registration of Enumservices: Guide, Template, and IANA Considerations"">RFC6117</a>]. The Enumservice Registration parameters are
reversed (i.e., subtype(s) before type), prepended with an underscore
(_), and prepended to the owner name in separate labels. The
underscore is prepended to the service parameters to avoid collisions
with DNS labels that occur in nature, and the order is reversed to
make it possible to do delegations, if needed, to different zones
(and therefore providers of DNS).
For example, suppose we are looking for the URI for a service with
ENUM Service Parameter "A:B:C" for host example.com. Then we would
query for (QNAME,QTYPE)=("_C._B._A.example.com","URI").
As another example, suppose we are looking for the URI for a service
with Service Name "A" and Transport Protocol "B" for host
example.com. Then we would query for
(QNAME,QTYPE)=("_A._B.example.com","URI").
The type number for the URI record is 256.
The URI resource record is class independent.
The URI RR has no special Time-to-Live (TTL) requirements.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Priority</span>
This field holds the priority of the target URI in this RR. Its
range is 0-65535. A client MUST attempt to contact the URI with the
lowest-numbered priority it can reach; URIs with the same priority
SHOULD be selected according to probabilities defined by the weight
field.
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Weight</span>
This field holds the server selection mechanism. The weight field
specifies a relative weight for entries with the same priority.
Larger weights SHOULD be given a proportionately higher probability
of being selected. The range of this number is 0-65535.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Target</span>
This field holds the URI of the target, enclosed in double-quote
characters ('"'), where the URI is as specified in <a href="./rfc3986">RFC 3986</a>
[<a href="./rfc3986" title=""Uniform Resource Identifier (URI): Generic Syntax"">RFC3986</a>]. Resolution of the URI is according to the definitions for
the Scheme of the URI.
<span class="grey">Faltstrom & Kolkman Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
Since the URI will not be encoded as a <character-string> (see
<a href="./rfc1035#section-3.3">Section 3.3 of RFC 1035</a> [<a href="./rfc1035" title=""Domain names - implementation and specification"">RFC1035</a>]), there is no 255-character size
limitation.
The Target MUST NOT be an empty URI ("").
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. URI RDATA Wire Format</span>
The RDATA for a URI RR consists of a 2-octet Priority field, a
2-octet Weight field, and a variable-length Target field.
Priority and Weight are unsigned integers in network byte order.
The remaining data in the RDATA contains the Target field. The
Target field contains the URI as a sequence of octets (without the
enclosing double-quote characters used in the presentation format).
The length of the Target field MUST be greater than zero.
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Priority | Weight |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ /
/ Target /
/ /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Usages</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Example: FTP Server in the example.com Domain</span>
An organization has the domain names example.com and example.net, and
their FTP archive is at ftp://ftp1.example.com/public. Given the
service name "ftp" and transport protocol "tcp" (from the IANA
"Service Name and Transport Protocol Port Number Registry"), the
following URI resource records could be made available in the
respective zones (example.com and example.net):
$ORIGIN example.com.
_ftp._tcp IN URI 10 1 "ftp://ftp1.example.com/public"
$ORIGIN example.net.
_ftp._tcp IN URI 10 1 "ftp://ftp1.example.com/public"
<span class="grey">Faltstrom & Kolkman Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Relation to S-NAPTR</span>
The URI resource record type is not a replacement for the S-NAPTR.
It is instead an extension and the second step of the S-NAPTR
resolution can resolve a URI resource record instead of using SRV
records and yet another algorithm for how to use SRV records for the
specific protocol.
$ORIGIN example.com.
;; order pref flags
IN NAPTR 100 10 "D" "EM:ProtA" ( ; service
"" ; regexp
_http._tcp.example.com. ) ; replacement
_http._tcp IN URI 10 1 "http://www.example.com/path"
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Relation to U-NAPTR</span>
The URI resource record type, together with S-NAPTR, can be viewed as
a replacement for U-NAPTR [<a href="./rfc4848" title=""Domain-Based Application Service Location Using URIs and the Dynamic Delegation Discovery Service (DDDS)"">RFC4848</a>]. The URI resource record type is
only interesting when one know a base domain name, a protocol, and a
service so that one can compose the record to look up. NAPTR records
of any kind are used to look up what services exist for a certain
domain, which is one step before the URI resource record is used.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Relation to SRV</span>
The URI resource record type can be viewed as a replacement for the
SRV record. This is because it, like the SRV record, can only be
looked up if one knows the base domain, the protocol, and the
service. It has a similar functionality and uses the same registry
for service names, but instead of returning a hostname and port
number, the URI record returns a full URI. As such, it can be viewed
as a more powerful resource record than SRV.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Registration of the URI Resource Record Type</span>
After an expert review in February 2011 (see <a href="#appendix-A">Appendix A</a>), IANA
allocated RRTYPE 256 for the URI resource record type in the registry
named "Resource Record (RR) TYPEs" (as defined in [<a href="#ref-BCP42" title=""Domain Name System (DNS) IANA Considerations"">BCP42</a>], which was
<a href="./rfc6195">RFC 6195</a> at the time but has since been replaced by <a href="./rfc6895">RFC 6895</a>) located
at <<a href="http://www.iana.org/assignments/dns-parameters">http://www.iana.org/assignments/dns-parameters</a>>.
IANA has updated the reference for this registration to refer to this
RFC.
<span class="grey">Faltstrom & Kolkman Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. Registration of Services</span>
No new registry is needed for the registration of services as the
Service Name, Transport Protocol Port Numbers, Enumservices and the
DNS SRV Service Type registries are also used for the URI resource
record type.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
Using the URI resource record together with security mechanisms that
rely on verification of authentication of hostnames, like TLS, makes
it important to choose the correct domain name when doing the
comparison and ensure that the change in the hostname to be used is
secured by DNSSEC so that it can be trusted in a similar way as a
redirect in HTTP using TLS.
If, for example, the URI resource record is not signed with the help
of DNSSEC and then validated successfully, trusting the non-signed
URI will effectively lead to a downgrade attack.
The basic mechanism for successful use of URI works as follows:
1. Announce that example.com is hosted at example.org (with some
URL) in DNS.
2. Secure the URI resource record with DNSSEC. This is best done
by doing validation in the application doing the lookup, but it
could also be done in the local recursive resolver or in the
trusted recursive resolver also doing validation. All are
according to the local trust policy.
3. Verify the TLS (for example) certificate for the connection to
example.org matches, i.e., use the hostname in the URI and not
the hostname used originally when looking up the URI resource
record.
4. If needed, do application-layer authentication, etc., over the
then encrypted connection.
It is also possible that the URI in the resource record type has
errors in it. Applications using the URI resource record type for
resolution should behave similarly as if the user typed (or copied
and pasted) the URI. At least it must be clear to the user that the
error is not due to any error from his side.
<span class="grey">Faltstrom & Kolkman Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
One SHOULD NOT include userinfo (see "User Information",
<a href="./rfc3986#section-3.2.1">Section 3.2.1 of RFC 3986</a> [<a href="./rfc3986" title=""Uniform Resource Identifier (URI): Generic Syntax"">RFC3986</a>]) in a URI that is used in a URI
resource record as DNS data must be viewed as publicly available
information.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-BCP42">BCP42</a>] Eastlake 3rd, D., "Domain Name System (DNS) IANA
Considerations", <a href="https://www.rfc-editor.org/bcp/bcp42">BCP 42</a>, <a href="./rfc6895">RFC 6895</a>, April 2013,
<<a href="http://www.rfc-editor.org/info/bcp42">http://www.rfc-editor.org/info/bcp42</a>>.
[<a id="ref-RFC1035">RFC1035</a>] Mockapetris, P., "Domain names - implementation and
specification", STD 13, <a href="./rfc1035">RFC 1035</a>, DOI 10.17487/RFC1035,
November 1987, <<a href="http://www.rfc-editor.org/info/rfc1035">http://www.rfc-editor.org/info/rfc1035</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC3986">RFC3986</a>] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66,
<a href="./rfc3986">RFC 3986</a>, DOI 10.17487/RFC3986, January 2005,
<<a href="http://www.rfc-editor.org/info/rfc3986">http://www.rfc-editor.org/info/rfc3986</a>>.
[<a id="ref-RFC6117">RFC6117</a>] Hoeneisen, B., Mayrhofer, A., and J. Livingood, "IANA
Registration of Enumservices: Guide, Template, and IANA
Considerations", <a href="./rfc6117">RFC 6117</a>, DOI 10.17487/RFC6117, March
2011, <<a href="http://www.rfc-editor.org/info/rfc6117">http://www.rfc-editor.org/info/rfc6117</a>>.
[<a id="ref-RFC6335">RFC6335</a>] Cotton, M., Eggert, L., Touch, J., Westerlund, M., and S.
Cheshire, "Internet Assigned Numbers Authority (IANA)
Procedures for the Management of the Service Name and
Transport Protocol Port Number Registry", <a href="https://www.rfc-editor.org/bcp/bcp165">BCP 165</a>,
<a href="./rfc6335">RFC 6335</a>, DOI 10.17487/RFC6335, August 2011,
<<a href="http://www.rfc-editor.org/info/rfc6335">http://www.rfc-editor.org/info/rfc6335</a>>.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-RFC2782">RFC2782</a>] Gulbrandsen, A., Vixie, P., and L. Esibov, "A DNS RR for
specifying the location of services (DNS SRV)", <a href="./rfc2782">RFC 2782</a>,
DOI 10.17487/RFC2782, February 2000,
<<a href="http://www.rfc-editor.org/info/rfc2782">http://www.rfc-editor.org/info/rfc2782</a>>.
<span class="grey">Faltstrom & Kolkman Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
[<a id="ref-RFC2915">RFC2915</a>] Mealling, M. and R. Daniel, "The Naming Authority Pointer
(NAPTR) DNS Resource Record", <a href="./rfc2915">RFC 2915</a>,
DOI 10.17487/RFC2915, September 2000,
<<a href="http://www.rfc-editor.org/info/rfc2915">http://www.rfc-editor.org/info/rfc2915</a>>.
[<a id="ref-RFC3401">RFC3401</a>] Mealling, M., "Dynamic Delegation Discovery System (DDDS)
Part One: The Comprehensive DDDS", <a href="./rfc3401">RFC 3401</a>,
DOI 10.17487/RFC3401, October 2002,
<<a href="http://www.rfc-editor.org/info/rfc3401">http://www.rfc-editor.org/info/rfc3401</a>>.
[<a id="ref-RFC3403">RFC3403</a>] Mealling, M., "Dynamic Delegation Discovery System (DDDS)
Part Three: The Domain Name System (DNS) Database",
<a href="./rfc3403">RFC 3403</a>, DOI 10.17487/RFC3403, October 2002,
<<a href="http://www.rfc-editor.org/info/rfc3403">http://www.rfc-editor.org/info/rfc3403</a>>.
[<a id="ref-RFC3404">RFC3404</a>] Mealling, M., "Dynamic Delegation Discovery System (DDDS)
Part Four: The Uniform Resource Identifiers (URI)",
<a href="./rfc3404">RFC 3404</a>, DOI 10.17487/RFC3404, October 2002,
<<a href="http://www.rfc-editor.org/info/rfc3404">http://www.rfc-editor.org/info/rfc3404</a>>.
[<a id="ref-RFC3597">RFC3597</a>] Gustafsson, A., "Handling of Unknown DNS Resource Record
(RR) Types", <a href="./rfc3597">RFC 3597</a>, DOI 10.17487/RFC3597, September
2003, <<a href="http://www.rfc-editor.org/info/rfc3597">http://www.rfc-editor.org/info/rfc3597</a>>.
[<a id="ref-RFC3958">RFC3958</a>] Daigle, L. and A. Newton, "Domain-Based Application
Service Location Using SRV RRs and the Dynamic Delegation
Discovery Service (DDDS)", <a href="./rfc3958">RFC 3958</a>, DOI 10.17487/RFC3958,
January 2005, <<a href="http://www.rfc-editor.org/info/rfc3958">http://www.rfc-editor.org/info/rfc3958</a>>.
[<a id="ref-RFC4592">RFC4592</a>] Lewis, E., "The Role of Wildcards in the Domain Name
System", <a href="./rfc4592">RFC 4592</a>, DOI 10.17487/RFC4592, July 2006,
<<a href="http://www.rfc-editor.org/info/rfc4592">http://www.rfc-editor.org/info/rfc4592</a>>.
[<a id="ref-RFC4848">RFC4848</a>] Daigle, L., "Domain-Based Application Service Location
Using URIs and the Dynamic Delegation Discovery Service
(DDDS)", <a href="./rfc4848">RFC 4848</a>, DOI 10.17487/RFC4848, April 2007,
<<a href="http://www.rfc-editor.org/info/rfc4848">http://www.rfc-editor.org/info/rfc4848</a>>.
[<a id="ref-RFC5507">RFC5507</a>] IAB, Faltstrom, P., Ed., Austein, R., Ed., and P. Koch,
Ed., "Design Choices When Expanding the DNS", <a href="./rfc5507">RFC 5507</a>,
DOI 10.17487/RFC5507, April 2009,
<<a href="http://www.rfc-editor.org/info/rfc5507">http://www.rfc-editor.org/info/rfc5507</a>>.
<span class="grey">Faltstrom & Kolkman Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. The Original RRTYPE Allocation Request</span>
On February 22, 2011 IANA assigned RRTYPE 256 for the URI resource
record based on a request that followed the procedure documented in
[<a href="#ref-BCP42" title=""Domain Name System (DNS) IANA Considerations"">BCP42</a>] (which was <a href="./rfc6195">RFC 6195</a> at the time but has since been replaced
by <a href="./rfc6895">RFC 6895</a>). The DNS RRTYPE PARAMETER ALLOCATION form as submitted
to IANA at that time is replicated below for reference.
Note: Although "ownername" should be "owner name", "ownername" has
been preserved below because it was part of the original request form
submitted to IANA.
A. Submission Date:
May 23, 2009
B. Submission Type:
[<a id="ref-X">X</a>] New RRTYPE
[ ] Modification to existing RRTYPE
C. Contact Information for submitter:
Name: Patrik Faltstrom
Email Address: paf@cisco.com
International telephone number: +46-8-6859131
Other contact handles:
(Note: This information will be publicly posted.)
D. Motivation for the new RRTYPE application?
There is no easy way to get from a domain name to a URI. Some
mechanisms exists via use of the NAPTR [<a href="./rfc3403" title=""Dynamic Delegation Discovery System (DDDS) Part Three: The Domain Name System (DNS) Database"">RFC3403</a>] resource
record. That implies quite complicated rules that are
simplified via the S-NAPTR [<a href="./rfc3958" title=""Domain-Based Application Service Location Using SRV RRs and the Dynamic Delegation Discovery Service (DDDS)"">RFC3958</a>] specification. But, the
ability to directly look up a URI still exists. This
specification uses a prefix based naming mechanism originated in
the definition of the SRV [<a href="./rfc2782" title=""A DNS RR for specifying the location of services (DNS SRV)"">RFC2782</a>] resource record, and the
RDATA is a URI, encoded as one text field.
See also above (<a href="#section-1">Section 1</a>).
<span class="grey">Faltstrom & Kolkman Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
E. Description of the proposed RR type.
The format of the URI resource record is as follows:
Ownername TTL Class URI Priority Weight Target
The URI RR has service information encoded in its ownername. In
order to encode the service for a specific ownername one uses
service parameters. Valid service parameters used are either
Enumservice Registrations registered by IANA, or prefixes used
for the SRV resource record.
The wire format of the RDATA is as follows:
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Priority | Weight |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ /
/ Target /
/ /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
F. What existing RRTYPE or RRTYPEs come closest to filling that
need and why are they unsatisfactory?
The RRTYPE that come closest is the NAPTR resource record. It
is for example used in the DDDS and S-NAPTR algorithms. The
main problem with the NAPTR is that selection of what record (or
records) one is interested in is based on data stored in the
RDATA portion of the NAPTR resource record. This, as explained
in <a href="./rfc5507">RFC 5507</a> [<a href="./rfc5507" title=""Design Choices When Expanding the DNS"">RFC5507</a>], is not optimal for DNS lookups. Further,
most applications using NAPTR resource records uses regular
expression based rewrite rules for creation of the URI, and that
has shown be complicated to implement.
The second closest RRTYPE is the SRV record that given a
prefixed based naming just like is suggested for the URI
resource record, one get back a port number and domain name.
This can also be used for creation of a URI, but, only URIs
without path components.
G. What mnemonic is requested for the new RRTYPE (optional)?
URI
<span class="grey">Faltstrom & Kolkman Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
H. Does the requested RRTYPE make use of any existing IANA Registry
or require the creation of a new IANA sub-registry in DNS
Parameters?
Yes, partially.
One of the mechanisms to select a service is to use the
Enumservice Registry managed by IANA. Another is to use
services and protocols used for SRV records.
I. Does the proposal require/expect any changes in DNS servers/
resolvers that prevent the new type from being processed as an
unknown RRTYPE (see [<a href="./rfc3597" title=""Handling of Unknown DNS Resource Record (RR) Types"">RFC3597</a>])?
No
J. Comments:
None
<span class="grey">Faltstrom & Kolkman Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7553">RFC 7553</a> URI Resource Record June 2015</span>
Acknowledgements
Ideas on how to split the two different kinds of queries, "What
services exists for this domain name" and "What is the URI for this
service", came from Scott Bradner and Lawrence Conroy. Other people
that have contributed to this document include Richard Barnes, Leslie
Daigle, Victor Dukhovni, Olafur Gudmundsson, Philip Hallam-Baker, Ted
Hardie, Sam Hartman, Evan Hunt, John Klensin, Peter Koch, Eliot Lear,
Andy Newton, Mark Nottingham, Penn Pfautz, Jinmei Tatuya, Willem
Toorop, and Nico Williams.
Cisco is acknowledged as Mr. Faltstrom's employer at the time this
document was developed.
The NLnet Labs is acknowledged as Mr. Kolkman's employer at the time
this document was developed.
Authors' Addresses
Patrik Faltstrom
Netnod
EMail: paf@netnod.se
Olaf Kolkman
Internet Society
EMail: kolkman@isoc.org
Faltstrom & Kolkman Informational [Page 14]
</pre>
|