Frame DNS messages inside the stream
03DoT uses the two-octet DNS-over-TCP length prefix inside TLS.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
DIAGRAM§ 3.3 ↗
RFC 7858 · § 3.3EXAMPLE
3 / 3
03
The receiver reads the length, then that complete DNS message.
The receiver reads the length, then that complete DNS message.
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
Read the updated RFC section ↗
TLS records and DNS message boundaries need not coincide.
- TLS records and DNS message boundaries need not coincide.
- Clients and servers should support pipelining and match responses using the DNS rules.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
Read the RFC section ↗Diagrams simplify the RFC. Read the linked sections for complete requirements.
Privacy