Visual RFC.
ALL RFCs / RFC 3597
Read the RFC ↗
RFC 3597 / UNKNOWN DNS RECORDS

Read the generic text representation

03

A master file is editable DNS zone text. TYPE followed immediately by a decimal number identifies a type; CLASS followed immediately by a decimal number identifies a class. The literal token \# introduces generic RDATA.

RFC 3597 · § 5EXAMPLE
4 / 4
Read the generic text representationThe official e.example. IN A \# 4 0A000001 example decodes to four bytes, 0A 00 00 01 (10.0.0.1). The server knows type A and MUST continue its normal A-specific processing; generic spelling does not erase type knowledge.Generic zone text → counted octetsKnown A record, generic RDATA\# 4 0A000001parse count and hexadecimal words0A000001A stays known: normal A rules still applyAlready-tokenized field model; not a full master-file lexer
04
Keep known A rules after generic parsing

The official e.example. IN A \# 4 0A000001 example decodes to four bytes, 0A 00 00 01 (10.0.0.1). The server knows type A and MUST continue its normal A-specific processing; generic spelling does not erase type knowledge.

Source for this drawing: RFC 3597 · Read RFC section 5 ↗

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

After \#, an unsigned decimal octet count precedes zero or more hexadecimal words; every hex word has an even number of digits. Zero length is written \# 0.

  • After \#, an unsigned decimal octet count precedes zero or more hexadecimal words; every hex word has an even number of digits. Zero length is written \# 0.
  • The official example a.example. CLASS32 TYPE731 \# 6 abcd ( ef 01 23 45 ) represents AB CD EF 01 23 45. Parentheses group the multi-line master-file example; they are not RDATA bytes.
  • Known types MAY use generic type, class and/or RDATA text. Further server processing MUST still apply known-type compression, canonicalization and other type-specific rules.
  • The field reader used here accepts already-tokenized hex words only; it is not a complete zone lexer. A rejected length example is a local field error, not an invented DNS response code. RFC6895 reserves generic TYPE/CLASS-style names against allocation as ordinary mnemonics.
DETAILS

Offline bounded examples, not a complete DNS server, master-file parser or DNSSEC validator. Hexadecimal pairs represent octets (eight-bit bytes). Layouts are schematic unless marked otherwise. Generic data transport neither understands an application nor authenticates it.

Read the RFC section ↗

All chapters in RFC 3597

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 ↗