IP Addressing Commands
ip name-server
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
230
14
An IP application will receive the IP addresses in the following order:
•
IPv6 addresses in the order specified by the command.
•
IPv4 addresses in the order specified by the command.
Use the no format of the command with the
address1...address8
argument to
delete the specified addresses. The entry is deleted if all its addresses are
deleted.
Example
switchxxxxxx(config)#
ip host accounting.website.com 176.10.23.1
ip name-server
To configure the DNS servers, use the ip name-server Global Configuration mode
command.
To disable the DNS servers, use the no form of this command.
Syntax
ip name-server
server-address1
[
server-address2
...
server-address8
]
no ip name-server
Parameters
•
server-address1
—IPv4 or IPv6 addresses of a single name server.
•
server-address2
...
server-address8
—(Optional) IPv4 or IPv6 addresses of
additional name servers.
Default Configuration
No DNS server is configured.
Command Mode
Global Configuration mode
Example