Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Resolver

Direct answer

A resolver is the DNS client side — the stub resolver on a host and the recursive resolver it is configured to use (for example via DHCP) — that turns names into addresses and caches answers for their TTL.

When to use this

Use it when a client cannot resolve names, to check which DNS server it asks and whether that server answers.

First 30 seconds

1. The resolver is the DNS server clients query.

2. Assigned by DHCP or static config.

3. Must reach upstream/forwarders.

4. Split DNS needs correct resolver choice.

5. Test each configured resolver.

Operational verification

client → configured resolver → answer

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandshow hosts
Scope / prerequisiteUse it when a client cannot resolve names, to check which DNS server it asks and whether that server answers.
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification & troubleshooting Narrow the fault

1. Record queried name/type and resolver.

2. Test reachability and UDP/TCP 53.

3. Query the recursive resolver.

4. Trace delegation/authority when needed.

5. Compare TTL/cache, DNSSEC status and application behavior.

Step 2 Common resolver problems Narrow the fault
  • Clients using public resolvers that cannot resolve internal names.
  • Search domains missing, so short names fail.
  • VPN clients adding resolvers that answer for all domains.
  • Local caches (ipconfig /displaydns, systemd-resolved, nscd) holding stale answers.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • A/AAAA map names to IPv4/IPv6; CNAME aliases one name; PTR is reverse lookup
  • Recursive and authoritative roles answer different questions
  • UDP 53 is common, while TCP 53 is required for some large replies and zone operations
  • NXDOMAIN, NODATA, SERVFAIL and timeout indicate different boundaries; TTL controls cache lifetime.
Key checks
  • resolvectl status / ipconfig /all — configured resolvers
  • dig @<resolver> <name> — resolver answers
  • show running-config | include ip name-server — IOS resolvers
ReferenceWhat it is1 section · depth on demand

Stub vs recursive resolver

Stub resolverRecursive resolver
WhereOn the client OSDNS server (internal, ISP, 1.1.1.1)
DoesSends one query, uses the answerWalks root → TLD → authoritative, caches
ConfigDHCP option 6, static settingsForwarders, root hints

Check client settings with ipconfig /all, resolvectl status or scutil --dns, and test a specific server with nslookup name 10.0.0.53 or dig @10.0.0.53 name.

ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to separate client resolver configuration, transport, delegation, authoritative data and caching failures.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The DNS resolver

The resolver is the part of DNS that answers applications' name questions. RFC 1034 describes resolvers as the link between user programs and name servers, answering from a cache of earlier results where possible to reduce delay and server load. A stub resolver, as on most clients, hands the work to a name server that performs recursive queries for it.

Resolver types

TypeRole
Stub resolverOn clients; asks configured servers with recursion desired
Recursive (caching) resolverFollows referrals from the root down and caches results
ForwarderSends queries to another recursive resolver

Recursion (RFC 1034)

The DNS requires iterative queries and makes recursion optional. A client sets RD (recursion desired); a server sets RA (recursion available) to show it will recurse.

Answers a resolver can return (RFC 1034)

ResultMeaning
DataThe requested records
Name errorThe name doesn't exist (NXDOMAIN)
Data not foundThe name exists, but not with that record type
Temporary failureMust not be reported as one of the errors above
host$ resolvectl status | grep -E "DNS Servers|Current DNS"
Current DNS Server: 10.20.0.53
       DNS Servers: 10.20.0.53 10.20.0.54
host$ dig +noall +comments +answer www.example.net
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
www.example.net.  300  IN  A  192.0.2.80
R1(config)# ip name-server 10.20.0.53 10.20.0.54
R1(config)# ip domain lookup source-interface Loopback0

Resolver configuration on Cisco devices

CommandPurpose
ip name-serverDNS servers for the device's own lookups
ip domain nameDefault domain appended to short names
no ip domain lookupStops IOS treating mistyped commands as host names
ip dns serverMakes the router a caching DNS server for clients

Troubleshooting

Query the resolver directly (dig @server), compare with an authoritative server, and check TTLs and negative caching when changes don't appear.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

A DNS resolver is the server clients ask when they need a name looked up. It either answers from its cache or walks the DNS hierarchy on the client's behalf, then caches the answer for the record's TTL. Which resolver a client uses determines which internal names it can see and whether security filtering applies, so resolver addresses are an important part of DHCP and VPN configuration.

A DNS resolver (recursive server) answers client queries by walking the hierarchy (root → TLD → authoritative) and caching results for the TTL.

ip name-server 10.0.0.53 10.0.0.54
ip domain lookup source-interface Loopback0
ip dns server                       ! IOS as caching resolver
dig +trace example.com

Clients should use internal resolvers (which forward or resolve recursively) — they enable internal zones, logging and protective DNS filtering. Open resolvers reachable from the internet are abused for amplification attacks.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1034

Authoritative/upstream documentation reviewed for bounded claims in IP Services → DNS → Resolver. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1034.html · confidence 94%
Confirmation

Confirm action

Continue?