IntermediatePublished 2026-07-04
DNS Name Resolution on IOS
Bundle lab
Enable and verify DNS-based name resolution on Cisco IOS. R1 will use a central DNS resolver on the management LAN and also maintain a static host mapping for R2, demonstrating resolution order and operational differences between local host tables and DNS queries.
Learning objectives
- Enable IOS DNS lookups globally with ip domain lookup
- Configure a DNS resolver with ip name-server 10.0.0.100
- Create a local static name-to-address mapping with ip host
- Explain and observe resolution order: static host table before DNS
- Verify name resolution using show hosts and by pinging a hostname
Troubleshooting focus
- Identify when no ip domain lookup disables name resolution and re-enable it
- Validate the correct DNS server IP and basic reachability to it
- Use show hosts to confirm static vs cached/DNS-learned entries
- Differentiate connectivity failures from name resolution failures
Topology
Subscribe to preview this lab's topology.
See plansGrade your work
How this lab is graded
- Build it your way. Where a lab lets you choose a value — a VLAN name, an interface description — grading checks that you configured it, not which name you picked. Names that another line has to reference, like an ACL applied with
access-class, are stated in the guide and do have to match. - Addresses, modes and protocol keywords are exact. An IP address, a subnet mask,
switchport mode trunk, an encapsulation — these carry the meaning of the lab, so they are graded as written in the guide. - Grading reads your saved configuration. Export the lab from CML after you have configured it, and make sure anything you set is in the running-config — a change that only exists in a terminal session never reaches the grader.
- You can submit as many times as you like. Your best score stands, and each attempt tells you which checks passed so you can work the gaps.
- Scored something you believe is correct? Use Report an issue on this page — that is exactly how the grading fixes in the changelog got found.
Create a free account to submit your lab for grading.
Create a free accountFound a problem with this lab?
Please sign in to report a problem — tying it to your attempts lets us reproduce and fix it faster.