Open a dedicated TLS transport
01DNS over TLS normally connects to TCP port 853 and begins TLS before DNS messages.
Send DNS inside the established TLS connection.
Key idea: No DNS messages are sent before the TLS handshake completes.
Rules & examples
No DNS messages are sent before the TLS handshake completes.
- 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
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.