Enable Ip Domain Lookup Cisco
To enable the domain name server dns lookup feature use the ip domain lookup command.
Enable ip domain lookup cisco. In this article i describe no ip domain lookup command of ios in cisco routers and switches. The no ip domain lookup command is usually seen in configurations. No ip domain lookup.
We are trying to enable domain lookups for ping traceroute from our remote routers. Ip dns based hostname to address translation is enabled ip domain lookup. No aaa new model memory size iomem 25.
This command allows the router to assume that any non keyword entered in the command console is supposed to be resolved into an ip address. The result of basic commands of ios in cisco router initially saved in running configuration and we need to copy the running configuration into the startup configuration. Interface fastethernet0 ip address 192 168 1 1 255 255 255 0 speed auto.
No ip domain lookup. This is a default command. By default dns lookups are enabled you would disable with a no ip domain lookup command.
This command has no arguments or keywords. Added ip domain lookup source interface fastethernet8 neither ping nor traceroute resolves ip s added ip domain server 4 2 2 2 no change change. Most people disable this command as it can be a frequent annoyance to those who mistype words on a regular basis.
Starting in ios version 12 2 cisco changed the command syntax from ip domain lookup to ip domain lookup they also changed the command syntax from ip domain name to ip domain name the new ios software still accepts previous versions of the commands. Connect to the device log in and go to enable mode and then global configuration mode. Below i ll setup dns lookups on a cisco router but the process is the same for a catalyst switch.