ip domain-lookup

58-5

58
Command Usage
The listed name servers are queried in the specified sequence until a
response is received, or the end of the list is reached with no response.
Example
This example adds two domain-name servers to the list and then displays the list.
Related Commands
ip domain-name (58-3)
ip domain-lookup (58-5)
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 you can enable DNS.
If all name servers are deleted, DNS will automatically be disabled.
Console(config)#ip domain-server 192.168.1.55 10.1.0.55
Console(config)#end
Console#show dns
Domain Lookup Status:
DNS disabled
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
Console#