Name
ip domain-lookup — global
Synopsis
ip domain-lookup no ip domain-lookup
Configures
DNS lookups for hostnames
Default
Enabled
Description
This command enables the DNS lookup feature. To disable DNS, use the
no
form of this command. Disabling this feature is
useful because you don’t usually want the router trying to
perform a DNS lookup on every word that you type at the command
prompt. (You can accomplish the same thing by enabling
transport
preferred
none
on all lines.) Furthermore, if you are having
network problems, you may not be able to reach any DNS servers to
perform lookups.
Example
To disable DNS lookups:
no ip domain-lookup
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.