350-401 Question 188
Single answerA network engineer is tasked with configuring DHCP services on a Cisco router to dynamically assign IP addresses to clients within a specific subnet. The engineer must also ensure that the clients receive DNS server information as part of the DHCP configuration. Which command is required to assign DNS server information in the DHCP pool configuration?
- A
dns-server 8.8.8.8
- B
ip dhcp pool dns-server 8.8.8.8
- C
domain-name-server 8.8.8.8
- D
network 192.168.1.0 255.255.255.0
Show answer and explanation
Correct answer: A
Explanation
To configure DHCP services on a Cisco router, the 'dns-server' command is used within the DHCP pool configuration to specify the IP address of the DNS server that will be provided to DHCP clients. This ensures that clients can resolve domain names to IP addresses using the specified DNS server.
- A. Correct.
This is the correct command to specify a DNS server in the DHCP pool configuration on a Cisco router. The syntax 'dns-server' followed by the IP address is used to inform DHCP clients of the DNS server they should use.
- B. Incorrect.
This is incorrect because the syntax 'ip dhcp pool dns-server' is invalid. The correct command for assigning a DNS server is simply 'dns-server' within the DHCP pool configuration.
- C. Incorrect.
This is incorrect because 'domain-name-server' is not a valid Cisco IOS command for DHCP configuration. The correct command is 'dns-server'.
- D. Incorrect.
This is incorrect because the 'network' command is used to define the IP address range for the DHCP pool, not to configure DNS server information.