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
|
Network Working Group S. Josefsson
Request for Comments: 4027 April 2005
Category: Informational
Domain Name System Media Types
Status of This Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
This document registers the media types application/dns and text/dns
in accordance with RFC 2048. The application/dns media type is used
to identify data on the detached Domain Name System (DNS) format
described in RFC 2540. The text/dns media type is used to identify
master files as described in RFC 1035.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. MIME Type Registration of application/dns . . . . . . . . . . 2
3. MIME Type Registration of text/dns . . . . . . . . . . . . . . 3
4. Security Considerations . . . . . . . . . . . . . . . . . . . 4
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4
6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 4
A. Disclaimer and License . . . . . . . . . . . . . . . . . . . . 5
Normative References . . . . . . . . . . . . . . . . . . . . . 5
Informative References . . . . . . . . . . . . . . . . . . . . 5
Author's Address . . . . . . . . . . . . . . . . . . . . . . . 5
Full Copyright Statements. . . . . . . . . . . . . . . . . . . 6
1. Introduction
Domain Name System (DNS) [1] information is traditionally stored in
text files, so-called master files or zone files. The format is
described in section 5 of RFC 1035 [2].
DNS data can also be stored in a "detached" format, intended for
archiving purposes, described in RFC 2540 [4].
Josefsson Informational [Page 1]
^L
RFC 4027 Domain Name System Media Types April 2005
This document registers MIME media types for the two data formats,
with the registration procedures described in RFC 2048 [3].
2. MIME Type Registration of application/dns
To: ietf-types@iana.org
Subject: Registration of MIME media type application/dns
MIME media type name: application
MIME subtype name: dns
Required parameters: None.
Optional parameters: None.
Encoding considerations: The data format is binary, and data must be
transfered unmodified. Using encodings intended for textual parts is
not recommended.
Security considerations: This media type identifies content as being
detached DNS information, as documented in RFC 2540 [4]. This data
may be security relevant as per RFC 2538 [7] or may be secured
information as per RFC 2535 [6]. Securing the content further may be
done with standard techniques, such as OpenPGP [5] or CMS [9], but
this is outside of the scope here. Further security assessments are
not available at this point.
Interoperability considerations: The encoding of detached DNS
information is, unlike textual master files, well defined. No
further interoperability considerations are known.
Published specification: The format of data that could be tagged with
this media type is documented in RFC 2540 [4].
Applications that use this media type: DNS-related software,
including software storing and using certificates stored in DNS.
Additional information:
Magic number(s): None.
File extension(s): Unknown.
Macintosh File Type Code(s): Unknown.
Person & email address to contact for further information:
Simon Josefsson simon@josefsson.org
Intended usage: LIMITED USE
Josefsson Informational [Page 2]
^L
RFC 4027 Domain Name System Media Types April 2005
Author/change controller: simon@josefsson.org
3. MIME Type Registration of text/dns
To: ietf-types@iana.org
Subject: Registration of MIME media type text/dns
MIME media type name: text
MIME subtype name: dns
Required parameters: None.
Optional parameters: None.
Encoding considerations: The data is textual and should be transfered
in a line-oriented mode. Text literals may contain CRLF within the
text. Binary transport is possible between systems that use the same
end-of-line conventions. Master files are in general ASCII, but
non-ASCII octet values may occur and are treated as opaque values by
DNS software (compare RFC 1035, section 5). The master file format
permits encoding arbitrary octet values by using the "\DDD" encoding.
The use of "\DDD" encoding can be more reliable than transporting
non-ASCII through MIME transports, if data passes through a gateway
that re-encodes the character data.
Security considerations: This media type identifies content as being
DNS information in "master file" format, as documented in RFC 1035
[2]. The DNS data may be security relevant as per to RFC 2538 [7],
or may be secured information as per to RFC 2535 [6]. Securing the
content further may be done with standard techniques, such as OpenPGP
[5] or CMS [9], but this is outside of the scope here. Further
security assessments are not available at this point.
Interoperability considerations: There are interoperability concerns
with master files, due to the widespread use of vendor-specific
extensions. Non-ASCII comments within master files may have been
encoded in locally chosen character sets, which may be difficult to
transport interoperably. Non-ASCII data in general can become
corrupted by re-encoding gateways. To achieve interoperability, one
can use the master file format described in the specification and the
"\DDD" encoding for non-ASCII octets. Further interoperability
issues with unrecognized RR types exist, which may be handled as
discussed in section 5 of RFC 3597 [8].
Published specification: The format of data that could be tagged with
this MIME type is documented in RFC 1035 [2].
Josefsson Informational [Page 3]
^L
RFC 4027 Domain Name System Media Types April 2005
Applications that use this media type: DNS-related software,
including software storing and using certificates stored in DNS.
Additional information:
Magic number(s): None.
File extension(s): 'soa' and 'zone' are known to be used.
Macintosh file type code(s): Unknown.
Person & email address to contact for further information:
Simon Josefsson simon@josefsson.org
Intended usage: LIMITED USE
Author/change controller: simon@josefsson.org
4. Security Considerations
Security considerations are discussed in the security considerations
clauses of the MIME registrations in sections 2 and 3.
5. IANA Considerations
The IANA has registered the MIME media types application/dns and
text/dns by using the registration templates in sections 2 and 3, as
per the procedure described in RFC 2048 [3].
6. Acknowledgements
Thanks to D. Eastlake for suggesting text/dns. Thanks to Keith Moore
and Alfred Hoenes for reviewing this document. The author
acknowledges the RSA Laboratories for supporting the work that led to
this document.
Josefsson Informational [Page 4]
^L
RFC 4027 Domain Name System Media Types April 2005
A. Disclaimer and License
Regarding this entire document or any portion of it, the author makes
no guarantees and is not responsible for any damage resulting from
its use. The author grants irrevocable permission to anyone to use,
modify, and distribute it in any way that does not diminish the
rights of anyone else to use, modify, and distribute it, provided
that redistributed derivative works do not contain misleading author
or version information. Derivative works need not be licensed under
similar terms.
Normative References
[1] Mockapetris, P., "Domain names - concepts and facilities", STD
13, RFC 1034, November 1987.
[2] Mockapetris, P., "Domain names - implementation and
specification", STD 13, RFC 1035, November 1987.
[3] Freed, N., Klensin, J., and J. Postel, "Multipurpose Internet
Mail Extensions (MIME) Part Four: Registration Procedures", BCP
13, RFC 2048, November 1996.
[4] Eastlake 3rd, D., "Detached Domain Name System (DNS)
Information", RFC 2540, March 1999.
Informative References
[5] Callas, J., Donnerhacke, L., Finney, H., and R. Thayer, "OpenPGP
Message Format", RFC 2440, November 1998.
[6] Eastlake 3rd, D., "Domain Name System Security Extensions", RFC
2535, March 1999.
[7] Eastlake 3rd, D. and O. Gudmundsson, "Storing Certificates in
the Domain Name System (DNS)", RFC 2538, March 1999.
[8] Gustafsson, A., "Handling of Unknown DNS Resource Record (RR)
Types", RFC 3597, September 2003.
[9] Housley, R., "Cryptographic Message Syntax (CMS)", RFC 3852,
July 2004.
Author's Address
Simon Josefsson
EMail: simon@josefsson.org
Josefsson Informational [Page 5]
^L
RFC 4027 Domain Name System Media Types April 2005
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions
contained in BCP 78, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Josefsson Informational [Page 6]
^L
|