Type wrong command, disable dns lookup on Cisco router

Saturday 29 December 2007 @ 12:37 pm

How many times have you typed in the wrong command on a Cisco router, and then have to wait while the DNS lookup times out because the route is trying to resolve that ‘domain’?

Yeah me too. Easy to fix …

Simply enter global configuration mode and type

router(config)# no ip domain-lookup

And the result is no more waiting for the DNS searches to time out.

Tags: Cisco, config, DNS, IOS, Router