How to disable Cisco router domain name lookup

Contributor Icon Contributed by aaronm Date Icon January 26, 2006  
Tag Icon Tagged: Cisco router

Ever foul up a command on a router or switch and have to sit there and wait for five minutes while it translates for the “domain” ?


Simply enter global config mode and type

router(config)# no ip domain-lookup

There, no more waiting for the DNS searches to time out.

Previous recipe | Next recipe |
 
  • AWfki
    Alternately you could configure a DNS server with the command: ip name-server <ip address>


    Now if you type "confligure" you'll get something like
    Translating "confligure"...domain server (1.1.1.1)
    % Unknown command or computer name, or unable to find computer address

    within a few seconds as the domain server reports that the name doesn't look up.
  • Anonymous
    Hi

    you can do

    dtw1(config)#
    dtw1(config)#no ip domain lookup
    dtw1(config)#
blog comments powered by Disqus