Internet Engineering Task Force (IETF) A. Mayrhofer
Request for Comments: 7830 nic.at GmbH
Category: Standards Track May 2016
ISSN: 2070-1721
The EDNS(0) Padding Option
Mayrhofer Standards Track [Page 1]
RFC 7830 EDNS(0) Padding May 2016
Table of Contents
1. Introduction
The Domain Name System (DNS) [RFC1035] was specified to transport DNS messages in cleartext form. Since this can expose significant amounts of information about the Internet activities of an end user, the IETF has undertaken work to provide confidentiality to DNS transactions (see the DPRIVE working group). Encrypting the DNS transport is considered one of the options to improve the situation.
2. Terminology
The terms "Requestor" and "Responder" are to be interpreted as specified in [RFC6891].
Mayrhofer Standards Track [Page 2]
RFC 7830 EDNS(0) Padding May 2016 3. The "Padding" OptionThe EDNS(0) [RFC6891] specifies a mechanism to include new options in DNS packets, contained in the RDATA of the OPT meta-RR. This document specifies the "Padding" option in order to allow clients and servers to pad DNS packets by a variable number of bytes. The "Padding" option MUST occur at most, once per OPT meta-RR (and hence, at most once per message).
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| OPTION-CODE |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| OPTION-LENGTH |
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| (PADDING) ... (PADDING) ... / +- - - - - - - - - - - - - - - -
4. Usage Considerations
This document does not specify the actual amount of padding to be used, since this depends on the situation in which the option is used. However, padded DNS messages MUST NOT exceed the number of octets specified in the Requestor's Payload Size field encoded in the RR Class Field (see Sections 6.2.3 and 6.2.4 of [RFC6891]).
Mayrhofer Standards Track [Page 3]
RFC 7830 EDNS(0) Padding May 2016 5. IANA ConsiderationsIANA has assigned Option Code 12 for "Padding" in the "DNS EDNS0 Option Codes (OPT)" registry.
6. Security Considerations
Padding DNS packets obviously increases their size, and will therefore lead to increased traffic.7. References 7.1. Normative References[RFC1035] Mockapetris, P., "Domain names - implementation and
Mayrhofer Standards Track [Page 4]
RFC 7830 EDNS(0) Padding May 2016 7.2. Informative References[RFC7525] Sheffer, Y., Holz, R., and P. Saint-Andre,