SecDNS

Recursive DNS resolver

A recursive DNS resolver is the server that walks the DNS hierarchy on a client's behalf and returns a final answer, caching intermediate results based on TTL.

Recursive DNS resolver

A recursive DNS resolver is the server that accepts a question from a client device and does whatever work is needed — querying root, TLD, and authoritative servers — to return a single, complete answer.

In plain English

Your phone does not actually walk the DNS tree itself. It hands the question to a recursive resolver — 1.1.1.1, your ISP, or a protective DNS service — and that resolver does the real work of looking it up step by step.

How it works

Recursive resolution is described in RFC 1034 §5. When a query arrives, the resolver checks its local cache; on a miss, it starts at the root zone (whose addresses are baked in via the root hints file), receives a referral to the TLD, then to the zone's authoritative servers, and finally to a name within that zone. Each step is cached for the record's TTL so subsequent queries are near-instant. Modern recursors also enforce DNSSEC validation, QNAME minimisation (RFC 9156), EDNS, and various spoofing defences like 0x20 case randomisation. Public resolvers (Cloudflare, Google, Quad9, OpenDNS) and protective DNS services (NextDNS, SecDNS, AdGuard DNS) are all recursive resolvers operated at scale and reached over DoH, DoT, or DoQ. A resolver is the natural enforcement point for filtering, logging, and policy.

SecDNS perspective

SecDNS operates a fleet of validating, QNAME-minimising recursive resolvers, each enforcing your policy via RPZ and exposing DoH, DoT, and DoQ endpoints.

Frequently asked questions

Is my home router a recursive resolver?

Usually no. Home routers run a small caching forwarder that sends queries upstream to a real recursive resolver provided by your ISP, a public resolver like 1.1.1.1, or a protective DNS service.

Where should I run filtering, at the recursive resolver?

Yes. The recursive resolver is the right enforcement point because every device on the network has to use it to resolve names. That is exactly where protective DNS lives.