Which of the following commands will configure a router to use DNS for hostname resolution?
A.
ip dns primary
B.
ip domain lookup
C.
ip dns server
D.
ip name-server
Explanation:
The ip domain lookup command configures the device to use DNS for hostname resolution. It must be
accompanied by a command that specifies the location of the DNS server, which is done with the ip nameserver command.
The ip dns-primary command is used to configure the device as the primary DNS name server for a domain
(zone) and as the start of authority (SOA) record source, which designates the start of a zone.
The ip dns server command is used to make the device a DNS server.
Objective:
Infrastructure Services
Sub-Objective:
Describe DNS lookup operationHome > Support > IP Addressing: DNS Configuration Guide, Cisco IOS Release 15M&T