Lab Exercise 1.7

Objective:
Skillfully master how to shut down DNS query function of router.
Requirements for device
Cisco 7200 series router
Syntax:

Shut down DNS query function in the global configuration mode.
(config)#no ip domain lookup

Explanation:
By default, the router DNS query function is enabled, that is when you input a command by mistake which can’t be recognized by Cisco IOS, the router will regard this command as hostname,and then query the DNS server. In general experimental environments, if we have no DNS servers, the useless query will be time-consuming due to the error command. So we shut down this function.

Configuration example 1:
#
Translating “”…domain server (255.255.255.255)
Translating “”…domain server (255.255.255.255)
Translating “”…domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
(config)#no ip domain lookup
(config)#end
#
*Mar 1 03:13:12.371: %SYS-5-CONFIG_I: Configured from console by console
#
Translating “
% Unknown command or computer name, or unable to find computer address
#

Popularity: 1% [?]