How To Disable DNS Lookup On Cisco Router?
If you want to disable DNS lookup on Cisco router, please carry out the instructions given here:
- First, you have to log onto your Cisco router through the Hyperterminal.
- At the command line, type enable and then press the Enter key.
- Now, the router> command prompt will display on your screen.
- Please type in the administrator password and then press the Enter key. Now, the router# command prompt will get displayed.
- In case the host name of your Cisco router has been changed during the configuration, your host name will be displayed instead of router#.
- Now, you have to type configure terminal and then press Enter. The command prompt will now change to router(config)# or hostname(config)#.
- Here, “hostname” will be the router’s assigned host name.
- Please type in no ip domain-lookup and press Enter. Now, the DNS lookup function will be displayed on your Cisco router. This will help you to disable DNS lookup on Cisco router.
- Now, type in exit and then press the Enter key to exit the configuration mode. The command prompt will now return to router>.
- Please test your Cisco router to make sure that the DNS lookup function is completely disabled. You can do that by typing in the following command and pressing Enter:
show run | include domain-lookup
- You should be able to see no ip domain lookup on your screen. Now, you have verified that the DNS lookup function is disabled.
- Finally, type the command given below at the command prompt:
copy running-config startup-config
- Please do not forget to press the Enter key to save your configuration settings.
- You have now successfully disabled the DNS lookup function on your Cisco router.
- We have now seen the steps involved to disable DNS lookup on Cisco router.