You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<t>This document defines a new DNS Label Type using the Extension Mechanisms for DNS to indicate when a relative domain name is used.</t>
13
+
</abstract>
14
+
</front>
15
+
<middle>
16
+
<section>
17
+
<name>Introduction</name>
18
+
<t>This document defines a "Relative Label" which may appear within domain names. This new label type enables resource records to be stored with their relative form (e.g. "www" instead of "www.example.com.").</t>
19
+
</section>
20
+
<section>
21
+
<name>Terminology</name>
22
+
<t>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 <xreftarget="RFC2119"/>.</t>
23
+
</section>
24
+
<section>
25
+
<name>Motivation</name>
26
+
<t>Relative labels are intended to efficiently solve the problem of using FQDNs when a relative label is wanted. For example, when someone wants to add the MX record "0 mx" instead of "0 mx.example.com." using DNS UPDATE <xreftarget="RFC2136"/>. It is also useful for DNS providers that store all the records in binary format. Saving data in binary requires less space and the data is already in wire format, but at the moment there is no way to save relative domains.</t>
27
+
</section>
28
+
<section>
29
+
<name>Label Format</name>
30
+
<t>Relative labels can only appear in the end of a relative FQDN, like the zero octet only appears in the end of an absolute FQDN. Message compression is possible when also using the relative label, but because the relative label already gives the possibility to leave out the zone name, message compression will likely have less effect.</t>
31
+
<section>
32
+
<name>Wire format</name>
33
+
<figure>
34
+
<artwork> 0 1 2 3 4 5 6 7
35
+
+-+-+-+-+-+-+-+-+
36
+
|0 1| ELT |
37
+
+-+-+-+-+-+-+-+-+</artwork>
38
+
</figure>
39
+
<dl>
40
+
<dt>ELT</dt>
41
+
<dd>000000 binary, the six-bit extended label type <xreftarget="RFC2671"/> assigned to the Relative Label.</dd>
42
+
</dl>
43
+
</section>
44
+
<section>
45
+
<name>Representation format</name>
46
+
<t>As described in <xreftarget="RFC1035"/>, relative domain names are domain names that don't end with a dot.</t>
47
+
</section>
48
+
<section>
49
+
<name>Canonical Representation and Sort Order</name>
50
+
<t>Before records are sorted for DNSSEC <xreftarget="RFC2065"/> purposes, the resource record MUST be converted to canonical form. This simply happens by replacing the relative label by the whole zone name. Also, the relative label should not appear when doing queries, except for AXFR and IXFR.</t>
51
+
</section>
52
+
</section>
53
+
<section>
54
+
<name>IANA Considerations</name>
55
+
<t>This document defines one Extended Label Type, termed the Relative Label, and requests registration of the code point 000000 binary in the space defined by <xreftarget="RFC2671"/>.</t>
56
+
</section>
57
+
<section>
58
+
<name>Security Considerations</name>
59
+
<t>All security considerations which apply to traditional ASCII DNS labels apply equally to binary labels. The canonicalization and sorting rules of section 3.3 allow these to be addressed by DNS Security <xreftarget="RFC2065"/>.</t>
60
+
</section>
61
+
</middle>
62
+
<back>
63
+
<references>
64
+
<name>Normative References</name>
65
+
<referenceanchor="RFC1035">
66
+
<front>
67
+
<title>Domain names - implementation and specification</title>
<t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
90
+
</abstract>
91
+
</front>
92
+
<seriesInfoname="BCP"value="14"/>
93
+
<seriesInfoname="RFC"value="2119"/>
94
+
<seriesInfoname="DOI"value="10.17487/RFC2119"/>
95
+
</reference>
96
+
<referenceanchor="RFC2136">
97
+
<front>
98
+
<title>Dynamic Updates in the Domain Name System (DNS UPDATE)</title>
0 commit comments