Enable Ip Domain Lookup Cisco
No ip domain lookup.
Enable ip domain lookup cisco. Basic commands of ios in cisco router relates to set the hostname password etc on first time. In this article i describe no ip domain lookup command of ios in cisco routers and switches. Line vty 0 4 password cisco login. Ip dns based hostname to address translation is enabled ip domain lookup.
A mildly scrubbed version of our running config is below. We are trying to enable domain lookups for ping traceroute from our remote routers. Below i ll setup dns lookups on a cisco router but the process is the same for a catalyst switch. By default any single word entered on a command line that is not recognized as a valid command is considered as a hostname by the router and the router will by default try to telnet to that hostname.
Enable password cisco. 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. How to enable dns lookups on cisco ios device. 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.
This command has no arguments or keywords. This is a default command. Specifies hosts 192 168 1 111 and 192 168 1 2 as name servers ip name server 192 168 1 111 192 168 1 2. Use the no form of this command to disable this feature.
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. No aaa new model memory size iomem 25. No ip domain lookup. By default dns lookups are enabled you would disable with a no ip domain lookup command.
To enable the domain name server dns lookup feature use the ip domain lookup command. The no ip domain lookup command is usually seen in configurations. Interface fastethernet0 ip address 192 168 1 1 255 255 255 0 speed auto.