Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

DNS (Domain Name System) · DHCP Server

Direct answer

The DHCP DNS option supplies resolver addresses to clients so applications can translate names into IP addresses.

When to use this

Use this topic when IP connectivity works but name resolution fails, or when clients receive unexpected DNS servers.

First 30 seconds

1. Client: which DNS servers were received?

2. nslookup <name> — answered? By which server?

3. Timeout → server unreachable or blocked (UDP/TCP 53).

4. Wrong internal answers → clients got a public resolver instead of the internal one.

5. Fix dns-server in the pool; ipconfig /renew and ipconfig /flushdns.

Operational verification

pool dns-server set → client receives it → client queries the resolver on UDP/TCP 53 → resolver answers → name resolved

Evidence · next step

Query the configured resolver directly and inspect reachability/response.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common DNS-option mistakes
  • Supplying an unreachable resolver.
  • Leaving a retired resolver in the pool.
  • Treating successful ping by IP as evidence DNS is healthy.
  • Treating a correct DHCP option as evidence that the resolver service is answering.
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 XE · Cisco IOS / IOS XE
Scope / prerequisiteUse this topic when IP connectivity works but name resolution fails, or when clients receive unexpected DNS servers.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

1 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 DNS-option verification Narrow the fault

Check the client lease for the intended resolver addresses. Test IP reachability to the resolver, then perform a direct DNS query and inspect the response. Keep DHCP option delivery separate from DNS server/record troubleshooting.

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.

state · 1
Command lookup Jump straight to Cisco syntax
Key points

Receiving a DNS server address through DHCP does not prove that the resolver is reachable or authoritative for the required namespace.

Key checks
  • show running-config | section ip dhcp pool — dns-server per pool.
  • Client: ipconfig /all / resolvectl status — DNS servers received.
  • nslookup <name> <server> — the server answers.
  • show hosts (IOS) — the router's own resolver cache.
ReferenceWhat it is1 section · depth on demand

What the DHCP DNS option does

The DHCP dns-server option supplies one or more resolver IP addresses to clients. This tells the client where to ask for name resolution; it does not make DNS part of DHCP itself.

ReferenceWhy it matters1 section · depth on demand

Why DHCP and DNS must be separated

Name-resolution failures are often blamed on DHCP because the resolver address came from the lease. Troubleshoot in two stages: show the correct DNS option was delivered, then test the DNS service as its own network/application dependency.

ReferenceHow it works1 section · depth on demand

Resolver delivery path

The DHCP server includes resolver addresses in the lease options. The client installs those resolver settings according to its operating-system policy. DNS queries then use normal IP connectivity to reach the configured resolver.

ReferenceImportant terms & boundaries3 sections · depth on demand

DNS option boundary

A correct resolver address in the lease shows configuration delivery. A successful query to that resolver shows more. Neither alone shows every namespace, forwarding zone or authoritative source is correct.

In depth

DNS options: servers and domain name for clients

A DHCP pool usually sends option 6 (DNS servers) and option 15 (domain name). Cisco's IOS XE DHCP server guide includes DNS servers in its general pool example. It also notes that if the device itself gets its uplink address by DHCP, import all can pull such options from the uplink.

C9300(config)# ip dhcp pool VLAN20-USERS
C9300(dhcp-config)# dns-server 10.10.50.10 10.10.50.11
C9300(dhcp-config)# domain-name corp.example.com
C9300(dhcp-config)# option 119 hex 04636f7270076578616d706c6503636f6d00
host$ resolvectl status eth0 | grep -E "DNS Servers|DNS Domain"
  DNS Servers: 10.10.50.10 10.10.50.11
   DNS Domain: corp.example.com

Option 119 carries a domain search list, encoded in DNS label format. In the example it encodes corp.example.com.

Practice

PointRecommendation
Number of serversAt least two, in different failure domains
Internal versus public resolversInternal resolvers for domain-joined clients; they forward external queries
Domain nameThe DNS suffix clients append to short names
Guest networksSeparate pools pointing to resolvers that don't expose internal zones

Troubleshooting

SymptomCheck
Clients resolve external names but not internal onesPool points to public resolvers
Slow name resolutionFirst DNS server unreachable; clients wait for a timeout before trying the second
Domain-joined Windows clients fail to log onWrong DNS servers (domain controllers can't be found)
Option changes don't reach clientsClients keep old options until renewal; renew (ipconfig /renew, dhclient -r && dhclient)

Keep DNS options consistent across all pools of a site, and update them in one change when resolvers move.

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

DHCP also hands out DNS settings: which resolvers to use and which domain suffix to append to short names. These options decide whether clients can find internal services and join or authenticate against the domain, so they should always point to internal resolvers rather than public ones.

DNS options in DHCP: option 6 (DNS servers), 15 (domain name), 119 (domain search list).

ip dhcp pool USERS-20
 dns-server 10.0.0.53 10.0.0.54
 domain-name corp.example.com
 option 119 hex …            ! search list (encoded)
show ip dhcp binding

Hand out internal resolvers so clients can resolve internal names and AD; public resolvers break domain logins and internal applications.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 2131

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

Basis: https://www.rfc-editor.org/rfc/rfc2131.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
dhcp dns option
Confirmation

Confirm action

Continue?