200-301 · Question #381
What does a router do when configured with the default DNS lookup settings, and a URL is entered on the CLI?
The correct answer is D. sends a broadcast message in an attempt to resolve the URL. When a router with default DNS lookup settings encounters a URL on the CLI and no DNS server is explicitly configured, it attempts to resolve the hostname.
Question
Options
- Ainitiates a ping request to the URL
- Bprompts the user to specify the desired IP address
- Ccontinuously attempts to resolve the URL until the command is cancelled
- Dsends a broadcast message in an attempt to resolve the URL
How the community answered
(45 responses)- A2% (1)
- B4% (2)
- C2% (1)
- D91% (41)
Why each option
When a router with default DNS lookup settings encounters a URL on the CLI and no DNS server is explicitly configured, it attempts to resolve the hostname.
Initiating a ping request requires a resolved IP address first; a ping is a connectivity test, not a name resolution method.
The router does not prompt the user for an IP address; it automatically attempts to resolve the name based on its configuration.
Without a configured DNS server, the default broadcast attempt will typically time out after a few tries rather than continuously attempting until cancelled.
By default, if no DNS server is configured using the `ip name-server` command, a Cisco router attempts to resolve a hostname or URL entered on the CLI by sending a broadcast message on connected interfaces to locate a name server or resolve the name, often resulting in a 'Translating...' message.
Concept tested: Cisco router default DNS lookup behavior
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_dns/configuration/15-mt/dns-15-mt-book/iadns-cfg-dns.html
Topics
Community Discussion
No community discussion yet for this question.