350-401 Question 187
Select 3An enterprise network is experiencing issues with clients failing to access web applications hosted on a server. Upon investigation, the network administrator discovers that the server has a static IP address, but there are no DNS records associated with it. To resolve the issue, the administrator decides to configure a DNS server on the router. Which of the following steps are necessary to implement DNS services on the Cisco router?
- A
Enable the DNS lookup feature on the router.
- B
Define the DNS server addresses using the 'ip name-server' command.
- C
Configure a default gateway on the router to forward DNS requests.
- D
Use the 'ip host' command to manually map hostnames to IP addresses.
- E
Enable DHCP services to dynamically assign IP addresses to hosts.
Show answer and explanation
Correct answers: A, B, D
Explanation
To configure DNS services on a Cisco router, DNS lookup must be enabled to allow the router to resolve domain names. The 'ip name-server' command points the router to external DNS servers for name resolution. Additionally, the 'ip host' command can be used to manually map hostnames to IP addresses for local name resolution. Configuring a default gateway or enabling DHCP is not relevant to the specific task of setting up DNS services.
- A. Correct.
Correct: Enabling DNS lookup is required for the router to resolve domain names to IP addresses.
- B. Correct.
Correct: The 'ip name-server' command specifies the DNS server(s) the router will query to resolve hostnames.
- C. Incorrect.
Incorrect: A default gateway is not required for DNS configuration on the router. DNS queries can still function without it if the DNS server is reachable.
- D. Correct.
Correct: The 'ip host' command can be used to manually map hostnames to IP addresses, which provides local name resolution.
- E. Incorrect.
Incorrect: DHCP is unrelated to DNS configuration. DHCP assigns IP addresses dynamically but does not configure DNS services directly.