Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

DNS resolver: what it does

A DNS resolver is the software or server that turns a domain name into an IP address on behalf of a client, asking other DNS servers as needed and caching the answer. Your device runs a small stub resolver that forwards questions to a recursive resolver.

The short answer
  • A stub resolver on your device hands queries to a recursive resolver.
  • Answers are cached for the record's TTL, so repeat lookups are fast.
  • Recursive resolvers talk to root, TLD and authoritative servers to find the answer.
Try the dns lookupFree, live, no signup

How does a resolver find an answer?

  1. 01

    Check the cache

    The recursive resolver answers from cache if it has an unexpired answer for the name.

  2. 02

    Ask a root server

    On a miss, it asks a root server, which refers it to the TLD's nameservers.

  3. 03

    Ask the TLD servers

    The TLD nameservers refer it to the domain's authoritative nameservers (with glue if needed).

  4. 04

    Ask the authoritative server

    The authoritative server returns the record, which the resolver caches for its TTL.

  5. 05

    Reply to the client

    The resolver sends the final answer back to the stub resolver that asked.

Stub or recursive resolver?

Resolver types in RFC 8499
TypeDoesExample
Stub resolverCannot do full resolution; relies on a recursive resolverThe resolver library in your OS or browser
Recursive resolverAnswers from cache or queries other servers for the final answerISP resolvers, or public resolvers you configure

Definitions: RFC 8499, section 6. Changing your DNS provider does not clear a resolver's cache; old answers persist until their TTL runs out.

Common questions

What is the difference between a resolver and a nameserver?

A resolver asks questions and caches answers for clients. An authoritative nameserver holds the actual records for a zone and answers for it. Your device uses the first and never reads the second's data directly.

Why does my site still show the old IP after a DNS change?

Resolvers cache the old answer until its TTL expires, so some users see old data for a while. Lowering the TTL before a change shortens this window, as the [DNS TTL page](/glossary/dns-ttl/) explains.

Can I choose my own DNS resolver?

Yes. Operating systems, routers and browsers let you set a different recursive resolver. Your network may supply one by default through DHCP.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.