Cisco Router DNS Server/Client
Also: router DNS configurationip dns serverip domain-lookup
A Cisco router can act as a DNS client (ip name-server to specify servers, ip domain lookup enabled by default) and as a DNS server for local hosts with ip dns server. With both, it answers from its own host table and forwards other queries to the configured name server.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab2
- Day 38 DNS
Cisco Router DNS Server/ClientA router is a DNS server with ip dns server and ip host entries, and a DNS client with ip name-server and ip domain lookup (on by default). It can be both at once, and it needs no DNS config just to forward DNS traffic.
14:10…d R1 to use Google’s DNS server at 8.8.8.8. I’ll demonstrate how this works in a minute. The final command is IP DOMAIN LOOKUP.
Said 4× - Day 38 Lab DNS
14:54And to enable hostname-to-address translation, that is this command: IP DOMAIN-LOOKUP. Notice it's using the old version, with a hyphen.
Said 4×
Related terms
Flashcards that test it
Jeremy's IT LabWhat command makes a Cisco router act as a DNS server?
ip dns server
Jeremy's IT LabWhich two IOS commands make a router a DNS client, and which of them is on by default?
ip name-server <ip> and ip domain lookup (old form ip domain-lookup). ip domain lookup is enabled by default.
Jeremy's IT LabWhich command must be enabled for a Cisco router to translate hostnames to IP addresses, and is it on by default?
ip domain lookup (older syntax ip domain-lookup); it is enabled by default.
Jeremy's IT LabWhich command makes a Cisco router respond to DNS queries from other devices?
ip dns server