4.0 IP Services

DNS Practice Questions

Domain name resolution on Cisco IOS devices.

Author-reviewed by LabFabric · 6 September 2026 · Report a content issue

One solved question, so you can see how these are marked

Which command tells a router which DNS server to query when it needs to resolve a hostname to an IP address?

ip name-server 1.1.1.1

ip name-server specifies the DNS resolver addresses used by the router itself. It does not distribute DNS settings to client PCs; configure those separately, for example through DHCP.

Every question in the set below is marked like this. The answers stay hidden until you pick one.

Find related practice in the CCNA path