ip domain-lookup
This command enables DNS host name-to-address translation. Use the no form to
disable DNS.
Syntax
[no] ip domain-lookup
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
•
At least one name server must be specified before DNS can be enabled.
•
If all name servers are deleted, DNS will automatically be disabled.
Example
This example enables DNS and then displays the configuration.
SSE-G2252(config)#ip domain-lookup
SSE-G2252(config)#end
SSE-G2252#show dns
Domain Lookup Status:
DNS enabled
Default Domain Name:
sample.com
Domain Name List:
sample.com.jp
sample.com.uk
Name Server List:
192.168.1.55
10.1.0.55
SSE-G2252#
Related Commands
"ip domain-name" on page 40-4
"ip name-server" on page 40-6
Chapter 40: Domain Name Service Commands
40-3