What name is attached to this address?
11Turn an address into a name-shaped question, read its stored pointer, then compare two independently kept facts.
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?
- Piece 1
192 - Piece 2
0 - Piece 3
2 - Piece 4
20
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.
Treat this as DNS data rather than authentication.
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.
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
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.