Visual RFC.
ALL RFCs / RFC 1034
Read the RFC ↗
RFC 1034 / RESOLUTION

Can a helper finish the lookup for us?

05

Ask a helper to carry the work, check its offer, then compare an answer, a signpost and a refusal.

RFC 1034 · § 4.3.1EXAMPLE
1 / 4 · Ask a helper to finish the job

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

Your device · small local clientFind the address for www.example.org.
Your devicePlease finish the lookupLookup helper
“Bring back the finished result.”Request bit RD = 1

What happens if you change this?

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

4 / 4
04
Return a completed result.

The stub does not need to chase the referral chain.

Can a helper finish the lookup for us?The stub requests recursion. The recursive resolver separately queries root, org and example.org, receives each referral or answer, then returns the final answer to the stub.Stub clientRecursive resolverAuthoritiesRD = 1Rootqueryorg. referralorg.querychild referralexample.org.queryA 192.0.2.20Final answerResolver returns the completed answer to the stub

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.

Look up a term in the glossary ↗

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
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 ↗