Command Line Interface
4-236
4
ip name-server
This command specifies the address of one or more domain name servers to use for
name-to-address resolution. Use the
no
form to remove a name server from this list.
Syntax
[
no
]
ip name-server
server-address1
[
server-address2
…
server-address6
]
•
server-address1
- IP address of domain-name server.
•
server-address2
…
server-address6
- IP address of additional
domain-name servers.
Default Setting
None
Command Mode
Global Configuration
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 (4-234)
ip domain-lookup (4-236)
ip domain-lookup
This command enables DNS host name-to-address translation. Use the
no
form to
disable DNS.
Syntax
[
no
]
ip domain-lookup
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#
Summary of Contents for 24/48 10/100 Ports + 2GE
Page 2: ......
Page 4: ...ES3526XA ES3552XA F2 2 6 3 E122006 CS R02 149100005500H...
Page 18: ...Contents xiv...
Page 22: ...Tables xviii...
Page 26: ...Figures xxii...
Page 34: ...Introduction 1 8 1...
Page 44: ...Initial Configuration 2 10 2...
Page 242: ...Configuring the Switch 3 198 3...
Page 498: ...Software Specifications A 4 A...
Page 511: ......
Page 512: ...ES3526XA ES3552XA E122006 CS R02D 149100005500H...