Visual RFC.
ALL RFCs / RFC 7858
Read the RFC ↗
RFC 7858 / PROTOCOL MECHANISMS

Open a dedicated TLS transport

01

DNS over TLS normally connects to TCP port 853 and begins TLS before DNS messages.

RFC 7858 · § 3.1EXAMPLE
3 / 3
03
Send DNS inside the established TLS connection.

Send DNS inside the established TLS connection.

Open a dedicated TLS transportDNS over TLS normally connects to TCP port 853 and begins TLS before DNS messages.DNS clientresolver :853TCP connectTLS handshakeprotected DNSDNS starts only after TLS establishment

Key idea: No DNS messages are sent before the TLS handshake completes.

Terms

Look up a term in the glossary ↗

Rules & examples
  • No DNS messages are sent before the TLS handshake completes.
  • A dedicated service port differs from opportunistically upgrading a cleartext DNS message.

The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.

Sources
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.

All chapters in RFC 7858

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 ↗