Who follows the signposts to find the address?
04Start from the best saved signpost, try a backup keeper, and stop an attempt that cannot finish.
The asking program starts with useful addresses it already knows. A saved closer signpost can skip earlier questions.
What do we already know?
www.example.org.Its website address · A recordWhat happens if you change this?
Make one change, then watch again. Restart restores the original example.
The authoritative server returns the matching host record.
Key idea: The requester follows signposts itself and keeps going toward a keeper that can answer.
Terms
- Iterative resolution
- The asking program follows each signpost itself.
- Root hints
- Starting information for contacting root keepers; the numbers here are examples.
- Closest known ancestor
- The known parent matching the most ending pieces of the wanted name.
- Query budget
- A chosen limit on how much lookup work one request may start.
- Timeout
- No usable reply arrived before the selected attempt ended; the name may still exist.
Rules & examples
A resolver can follow referrals itself, with bounded work and uncertainty preserved.
These reference examples may differ from the selected experiment.
- Start with useful cached information or a configured server safety belt.
- Choose servers with the closest known matching ancestor of the queried name.
- Retry alternatives and bound the work so failure or alias loops do not run forever.
Real resolution may require extra address lookups and retries. These four steps illustrate a successful cold-cache path.
This is a bounded classic iterative lookup for one A/IN question. Configured starting addresses and any selected saved delegations are assumed usable. The illustrative matching count uses nonempty labels: root 0, org 1 and example.org 2. Every accepted referral in this fixture increases that count; needed server addresses are supplied. Addresses are documentation examples, not real root hints. The chosen limit is six sends, with two displayed candidates at a level. It is an illustrative work bound, not an RFC timeout/retry requirement. No real timers, address sub-lookups, alias handling, delegation refresh, packet parsing, ID checks or DNSSEC validation are implemented. Modern QNAME minimization can change the intermediate question names; the classic full-name question here is one selected teaching profile.
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.