Configure Cisco router as DNS client

DNS is an  application layer protocol used to resolve hostnames to IP addresses. If you have a DNS server on your network, you can configure your Cisco device to use it for name resolution. Here are the steps:

  1. (Optional) If you’ve previously disabled DNS lookups on your device, re-enable it with the ip domain-lookup command.
  2. Specify the IP address of the DNS server using the ip name-server command. It is possible to specify up to six DNS servers.
  3. (Optional) Specify the domain name to append to the hostname you type in by using the ip domain-name command.


Here is an example configuration:

Floor1(config)#ip name-server

In the output above you can see that I’ve specified the IP address of my DNS server ( Let’s say that the DNS server contains a record for a server called fileshare. I can try to ping that host using its hostname to verify that the name resolution process is indeed working:

Floor1#ping fileshare
Translating \"fileshare\"...domain server (
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/1 ms

As you can see from the output above, the hostname fileshare was translated to the IP address of

Prerequisites for 200-301

200-301 is a single exam, consisting of about 120 questions. It covers a wide range of topics, such as routing and switching, security, wireless networking, and even some programming concepts. As with other Cisco certifications, you can take it at any of the Pearson VUE certification centers.

The recommended training program that can be taken at a Cisco academy is called Implementing and Administering Cisco Solutions (CCNA). The successful completion of a training course will get you a training badge.

Full Version 200-301 Dumps

Try 200-301 Dumps Demo