ip domain-lookup — global
ip domain-lookup no ip domain-lookup
DNS lookups for hostnames
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.
To disable DNS lookups:
no ip domain-lookup