Visual RFC.
ALL RFCs / RFC 7830
Read the RFC ↗
RFC 7830 / EDNS PADDING

Keep the privacy and security limits visible

05

Extra bytes have costs, and they leave other side channels and transport responsibilities intact.

RFC 7830 · § 6EXAMPLE
4 / 4
Keep the privacy and security limits visibleFictional Padding bytes6869 happen to spell hi in ASCII and still MUST be accepted structurally. This demonstrates a possible covert-data channel, not an application text payload definition or identity proof.Keep padding’s limits explicitFictional inner Padding data, not an app protocol6869ASCII illustration: 68 69 spells hiMUST accept values as PaddingArbitrary data can be a covert channelValid padding does not authenticate a senderRFC7830 · chapter 5 · state 4 · fictional examples
04
Recognize arbitrary-data limits

The receiver still MUST accept the values structurally. Neither readable bytes nor valid padding authenticate the sender or define an application message.

Source for this drawing: RFC 7830 · Read RFC section 6 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Padding hampers one size clue; it does not make DNS anonymous or configure secure transport.

  • Padding increases message size and traffic and can make DNS amplification attacks easier. These concerns are part of why RFC 7830 forbids using it over unencrypted transport. In the chosen base40→64 example, 24 extra bytes include header4+data20: a 60% increase before transport overhead (§6). This is not a measured real-world amplification factor.
  • Even encryption plus padding can leave DNS recognizable, with timing and query/response counts still leaking information. RFC 8467 §6 explicitly identifies these limits; no timing jitter or cover-traffic scheme is implemented or recommended by this guide. Equal inner DNS lengths alone do not establish anonymity.
  • RFC 7830 §6 says implementations/deployments SHOULD disable TLS-level compression because it can affect padding length. Current guidance in RFC 9325 §3.3 discourages TLS 1.2 record-level compression (SHOULD NOT, with a narrow proven-safe exception) and notes it was removed from TLS 1.3. This does not forbid DNS name compression or every other form of compression. Padding does not configure or authenticate a TLS connection.
  • Padding data can be a covert channel, like other DNS fields. The receiver’s MUST-accept-any-value requirement remains a structural rule, not an endorsement or proof of the data’s meaning or sender identity. The fictional bytes 68 69 happen to spell hi in ASCII; the option does not define such a text payload (§§3,6).
  • The option code’s registry status “Standard” is an IANA registration label. RFC 7830’s official publication status is Proposed Standard, May 2016, with no formal Updates/Updated By/Obsoletes/Obsoleted By relationships in the fresh RFC Editor metadata. RFC 8467 and current TLS guidance are related publications, not replacement editions of this immutable RFC (§5).
DETAILS

Fictional offline DNS messages, local bounded parsing and chosen padding policies. Length figures describe DNS messages before transport overhead. No DNS traffic, encryption, anonymity measurement or production protocol stack is implemented.

Read the RFC section ↗

All chapters in RFC 7830

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗