Pcornel
Networking · IP Services › DHCP › DHCP Server

DNS (Domain Name System)

Cheat sheet · https://pcornel.dk/topic.php?topic=1194

Back to the Topic

Answer

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

Remember

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

First 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.

Verify in this order

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

Where it usually breaks

local configuration → reachability/transport → request/negotiation → server or policy decision → response/state installation → client-visible result

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1194

Confirmation

Confirm action

Continue?