Router Behavior When Resolving a URL on the CLI
What does a router do when it is configured with the default DNS lookup settings, and a URL is entered on the CLI?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
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.
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.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
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
Related Analysis
Practice All 200-301 Questions
Access 220 questions with complete answers and detailed explanations.
View Full 200-301 Practice Test →