Can a helper finish the lookup for us?
05Ask a helper to carry the work, check its offer, then compare an answer, a signpost and a refusal.
This device has a small local client. It can ask a configured helper to return the completed result.
Let a helper carry the lookup work
www.example.org.What happens if you change this?
Make one change, then watch again. Restart restores the original example.
The stub does not need to chase the referral chain.
Key idea: Recursive service means the helper finishes the lookup for its client. Asking and offering are separate decisions.
Terms
- Stub resolver
- The small local client that asks a configured helper to do the full lookup.
- Recursive resolution
- The helper follows signposts and returns a completed result.
- RD
- The query’s “please finish the lookup” request bit.
- RA
- The response’s separate indication that recursive service is available.
- REFUSED
- The server declines an operation because of policy.
- SERVFAIL
- The server could not finish the lookup; this is not proof of a missing name.
Rules & examples
Requesting recursive service and offering it are separate decisions.
These reference examples may differ from the selected experiment.
- RD requests recursion; RA indicates whether the server offers recursive service.
- A server may decline recursion for a particular client.
- A recursive response contains an answer or error, rather than merely a referral.
The stub and recursive resolver are roles. A deployment may combine functions, and an authoritative server need not offer recursion.
RD is copied from the query into the response. RA is advertised independently of RD. Under this RFC 1034 profile it indicates willingness to provide recursion to this client. The selected restriction returns REFUSED with RA=0 when RD=1; this is one illustrative policy, not a requirement for every access-denial response. With RD=0 no recursive work is started even if RA=1. The no-service profile returns a local referral rather than a completed recursive result. Offered recursive service returns the final answer or a failure here, never a bare referral. The helper starts with an empty answer cache in this experiment; RD/RA flags do not by themselves prove fresh external traffic. Only the flags word is encoded, with QR=1, AA=0, opcode 0 and no other flags; this is not a complete DNS message. Selected response flags: 81 80.
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.