DNS Client Commands
78-21075-01 Command Line Interface Reference Guide
•
address2...address8—Up to seven additional associated IP addresses,
delimited by a single space (IPv4 or IPv6, if IPv6 stack is supported).
Default Configuration
No host is defined.
Command Mode
Global Configuration mode
User Guidelines
Host names are restricted to ASCII letters A through Z (case-insensitive), the digits
0 through 9, the underscore and the hyphen symbols. A period (.) is used to
separate labels.
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
delete the specified addresses. The entry is deleted if all its addresses are
deleted.
Example
The following example defines a static host-name-to-address mapping in the host
cache.
ip host
accounting.website.com 176.10.23.1
88
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
server1-address
ip name-server
server-address1
no ip name-server [
address1...address8
server-address2...erver-address8
[
server-address8
...
argument to
]
]
8
159