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

Read HTTP and DNS errors separately

03

HTTP status describes the HTTP exchange; DNS RCODE describes the embedded DNS result.

RFC 8484 · § 4.2.1EXAMPLE
3 / 3
03
Keep an HTTP transport failure separate from that valid DNS negative answer.

Keep an HTTP transport failure separate from that valid DNS negative answer.

Read HTTP and DNS errors separatelyHTTP status describes the HTTP exchange; DNS RCODE describes the embedded DNS result.HTTP RESPONSEHTTP 200 OKDNS RCODE: NXDOMAINvalid negative DNS answerSeparate case: HTTP failure ≠ DNS NXDOMAINRead both HTTP status and embedded DNS result

Key idea: A valid DNS error response can be carried in a successful HTTP 2xx response.

Terms

Look up a term in the glossary ↗

Rules & examples
  • A valid DNS error response can be carried in a successful HTTP 2xx response.
  • An HTTP failure is not itself a DNS NXDOMAIN result.

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 request starts a conversation.

A client asks for a resource. A server sends a response. The method, address, headers, and status explain what that conversation means.

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 8484

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 ↗