DNS Client Commands
OL-32830-01 Command Line Interface Reference Guide
360
15
15.8 ip name-server
Use the ip name-server command in Global Configuration mode to specify the
address of one or more name servers to use for name and address resolution.
Use the no form of this command to remove the static specified addresses.
Syntax
ip name-server
server1-address
[
server-address2...erver-address8
]
no ip name-server [
server-address1
...
server-address8
]
Parameters
•
server-address1
—IPv4 or IPv6 addresses of a single name server.
•
server-address2
...
server-address8
—IPv4 or IPv6 addresses of additional
name servers.
Default Configuration
No name server IP addresses are defined.
Command Mode
Global Configuration mode
User Guidelines
The preference of the servers is determined by the order in which they were
entered.
Each ip name-server command replaces the configuration defined by the previous
one (if one existed).
Example
The following example shows how to specify IPv4 hosts 172.16.1.111, 172.16.1.2,
and IPv6 host 2001:0DB8::3 as the name servers:
switchxxxxxx(config)#
ip name-server 172.16.1.111 172.16.1.2 2001:0DB8::3
Summary of Contents for 300 Series
Page 2: ......