How To Enable DNS Lookup On Cisco Router?
To enable DNS lookup on Cisco router helps to find and connect to websites and services. Mostly, local companies and private networks rely on the DNS protocol to operate efficiently.
- DNS Lookup on Cisco Router
Enabling DNS Lookup On Cisco Router
In rare cases, a problem might arise and we have to use only our ISP’s DNS servers or public DNS server. The step-by-step instructions to configure the Cisco router for providing DNS service to your network are mentioned on this web page.
Use the following command lines to enable the DNS service and domain lookup on the Cisco router.
- R1(config)# ip dns server
- R1(config)# ip domain-lookup
- Cisco router with a public name-server.
To perform recursive DNS lookups, you have to set up the
To do so, enter the command lines given here.
R1(config)# ip name-server 126.96.36.199
R1(config)# ip name-server 188.8.131.52
You can provide up to a maximum of six different DNS name servers.
First, use your ISP’s DNS server to check whether you have quick responses.
If so, use public DNS servers to enable DNS lookup on Cisco router.
Enter the ‘R1(config)# ip host X M’ command line without including the single quotes.
Note: Replace the X and M letters with the host name and its IP address, respectively.
This will set up your DNS server with the specified host names of a local network.
Check if you receive an answer by entering the R1 ping X command line.
If so, set the Cisco router’s IP address as the primary DNS server on your computer.
To do this, proceed with the steps mentioned here.
Navigate to the Control Panel screen on your Windows 10 computer and select the Network and Sharing Center option followed by the Change adapter settings option.
Right-click your adapter and then select the Properties option.
Open the Internet Protocol (TCP/IP) Properties dialog window and select the radio button beside the ‘Use the following IP address’ and ‘Use the following DNS server addresses’ options.
Provide the required information and click OK to enable DNS lookup on Cisco router.