![background image](http://html.mh-extra.com/html/smc-networks/6152pl2-fiche/6152pl2-fiche_management-manual_1300644786.webp)
Command Line Interface
4-408
4
Example
This example adds two domain names to the current list and then displays the list.
Related Commands
ip domain-name (4-406)
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.
Console(config)#ip domain-list sample.com.jp
Console(config)#ip domain-list sample.com.uk
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:
Console#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......