Router Behavior When Resolving a URL on the CLI
Short answer
D With default DNS lookup enabled, the router sends a query to its configured DNS server to resolve the entered URL to an IP address.
Question
Key Takeaways
The router resolves names via DNS only when 'ip domain-lookup' is enabled and a name server is configured; otherwise the CLI treats the string as an invalid command.
When 'ip domain-lookup' is on (default) and a hostname/URL is typed at the CLI, the router treats it as a name to resolve and queries the DNS server configured with 'ip name-server'. If no server is set or resolution fails, it eventually times out.
Common mistake: Thinking the router pings (B) or prompts for an IP (C). It issues a DNS query; ping happens only after resolution, and no prompt appears.
Expert Analysis
Why the Answer Is Correct
D is correct. With default DNS settings ('ip domain-lookup' enabled), entering a URL at the CLI makes the router query its configured DNS server to translate the name into an IP address.
Why the Other Options Are Wrong
A is wrong: the router does not loop forever — a failed lookup times out. B is wrong: a ping is a separate action that occurs only after resolution. C is wrong: the CLI does not prompt for an IP; it either resolves or returns an error.
Community Comment Notes
The vote is D (100). Commenters note the router queries the DNS server from its DNS settings and retries or times out depending on configuration.
Official Reference
https://learningnetwork.cisco.com/s/ccna-exam-topics
This link opens the official vendor documentation in a new tab.
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
Nethach 👍 3 Answered DI LOVE THIS QUESTION Translating "{typo}"...domain server (255.255.255.255)
-
[Removed] 👍 2 Answered DD is correct The router will try to resolve the URL to an IP address by querying a DNS server configured in its DNS settings. If successful, it will use the resolved IP address for further processing. If unsuccessful, it may continue to retry or eventually timeout depending on the configured settings.
-
379c9f6 👍 4Good job to reach 1321.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →