Visual RFC.
ALL RFCs / RFC 1034
Read the RFC ↗
RFC 1034 / NAMES & RECORDS

What name is attached to this address?

11

Turn an address into a name-shaped question, read its stored pointer, then compare two independently kept facts.

RFC 1034 · § 5.2.1EXAMPLE
1 / 4 · Start with the address, not a website name

The app has an address and wants the name stored for it. Keep its four number pieces together.

We know an address. What name is stored for it?

Address received by the app
  1. Piece 1192
  2. Piece 20
  3. Piece 32
  4. Piece 420

The dots separate four number pieces. Reversing later will move whole pieces, not individual digits.

What happens if you change this?

Make one change, then watch again. Restart restores the original example.

4 / 4
04
Return naming information.

Treat this as DNS data rather than authentication.

What name is attached to this address?Four IPv4 octets visibly reverse positions before a PTR query is assembled.Worked example: IPv4 reverse name1920220202019220.2.0.192.in-addr.arpa.QTYPE = PTRPTR → host.example.org.

Key idea: An address becomes a name-shaped question. Its returned name and that name’s addresses are separately stored facts, not identity proof.

Terms
Reverse DNS
Starting with an address and looking up a stored name for it.
IPv4 octet
One of the four number pieces in this address; each fits from 0 to 255.
IN-ADDR.ARPA
The special ending used to turn an IPv4 address into a DNS name.
PTR record
A stored pointer from one DNS name to another name.
Forward-confirmed reverse DNS
Checking whether the returned name’s address list includes the starting address.
IQUERY
An obsolete different DNS operation; this ordinary PTR lookup does not use it.

Look up a term in the glossary ↗

Rules & examples

A returned name is naming information; agreement with its address list does not prove connection identity.

These reference examples may differ from the selected experiment.

  • The reverse name for 192.0.2.20 is 20.2.0.192.in-addr.arpa.
  • Reverse DNS uses standard PTR queries, not the historic optional inverse-query opcode.
  • A reverse answer does not by itself prove who controls a connection or that forward and reverse mappings agree.

This RFC predates IPv6 reverse lookup. The example uses a documentation-only IPv4 address.

Selected IPv4 dotted-decimal inputs have four canonical decimal octets in 0..255; leading-zero spellings and other address families are outside this experiment. Reversing octet labels and appending in-addr.arpa. makes QNAME; QTYPE=PTR and QCLASS=IN use ordinary opcode QUERY=0. The selected complete reverse owner has either one PTR record, no PTR record (NODATA), or an unfinished lookup. Multiple PTR answers, aliases, delegation steps, DNSSEC, caching and packet encoding are outside this fixture. The optional consistency comparison makes a separate A/IN lookup of the returned target; membership of the starting IPv4 address in that list computes agreement. It is not a mandatory extra step of every PTR query, and does not authenticate a connection or person. A forward lookup need not have only one address. The original native reverse construction and reference rules remain intact. Historic inverse opcode IQUERY=1 was optional in RFC1034 and made obsolete by RFC3425; it is not how this reverse lookup works.

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 1034

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 ↗