nerdexam
Cisco

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.

Submitted by salim_om· Mar 5, 2026IP Services

Question

What does a router do when configured with the default DNS lookup settings, and a URL is entered on the CLI?

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)
  • A
    2% (1)
  • B
    4% (2)
  • C
    2% (1)
  • D
    91% (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.

Ainitiates a ping request to the URL

Initiating a ping request requires a resolved IP address first; a ping is a connectivity test, not a name resolution method.

Bprompts the user to specify the desired IP address

The router does not prompt the user for an IP address; it automatically attempts to resolve the name based on its configuration.

Ccontinuously attempts to resolve the URL until the command is cancelled

Without a configured DNS server, the default broadcast attempt will typically time out after a few tries rather than continuously attempting until cancelled.

Dsends a broadcast message in an attempt to resolve the URLCorrect

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

#DNS#name resolution#CLI behavior#broadcast

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice