Use this topic when IP connectivity works but name resolution fails, or when clients receive unexpected DNS servers.
DNS (Domain Name System) · DHCP Server
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.
pool dns-server set → client receives it → client queries the resolver on UDP/TCP 53 → resolver answers → name resolved
Query the configured resolver directly and inspect reachability/response.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
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.
show running-config | section ip dhcp pool—dns-serverper pool.- Client:
ipconfig /all/resolvectl status— DNS servers received. nslookup <name> <server>— the server answers.show hosts(IOS) — the router's own resolver cache.
ReferenceWhy it matters1 section · depth on demand
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
| Point | Recommendation |
|---|---|
| Number of servers | At least two, in different failure domains |
| Internal versus public resolvers | Internal resolvers for domain-joined clients; they forward external queries |
| Domain name | The DNS suffix clients append to short names |
| Guest networks | Separate pools pointing to resolvers that don't expose internal zones |
Troubleshooting
| Symptom | Check |
|---|---|
| Clients resolve external names but not internal ones | Pool points to public resolvers |
| Slow name resolution | First DNS server unreachable; clients wait for a timeout before trying the second |
| Domain-joined Windows clients fail to log on | Wrong DNS servers (domain controllers can't be found) |
| Option changes don't reach clients | Clients 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.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.