
Command Line Interface
4-140
4
Example
This example adds two domain-name servers to the list and then displays the list.
Related Commands
ip domain-name (4-137)
ip domain-lookup (4-140)
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.
Example
This example enables DNS and then displays the configuration.
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#
Console(config)#ip domain-lookup
Console(config)#end
Console#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
Summary of Contents for ES3628C
Page 2: ......
Page 4: ...ES3628C F3 1 0 18 E032005 R01 149100005100H...
Page 38: ...Introduction 1 10 1...
Page 48: ...Initial Configuration 2 10 2...
Page 281: ...IP Routing 3 233 3 Web Click Routing Protocol RIP Statistics Figure 3 133 RIP Statistics...
Page 326: ...Configuring the Switch 3 278 3...
Page 652: ...Command Line Interface 4 326 4...
Page 666: ...Glossary Glossary 8...
Page 672: ...Index 6 Index...
Page 673: ......
Page 674: ...ES3628C E032005 R01 149100005100H...