Cisco Cisco Packet Data Gateway (PDG)

Page de 1952
ip name-servers
Modifies the list of domain name servers the current context may use for logical host name resolution.
Product
All
Privilege
Security Administrator, Administrator
Command Modes
Exec > Global Configuration > Context Configuration
configure > context context_name
Entering the above command sequence results in the following prompt:
[
context_name
]
host_name
(config-ctx)#
Syntax Description
ip name-servers ip_address secondary_ip_address
[
third_ip_address
]
no ip name-servers ip_address
no
Indicates the name server specified is to be removed from the list of name servers for the current context.
ip_address
Specifies the IP address of a domain name server using IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation.
secondary_ip_address
Specifies the IP address of a secondary domain name server using either IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation.
third_ip_address
Specifies the IP address of a third domain name server using either IPv4 dotted-decimal or IPv6
colon-separated-hexadecimal notation. (VPC only)
Usage Guidelines
Manage the list of name servers the current context may use in resolving logical host names.
The DNS can be specified at the Context level in Context configuration as well as at the APN level in APN
Configuration Mode with dns and ipv6 dns commands, or it can be received from AAA server.
When DNS is requested in PCO configuration, the following preference will be followed for DNS value:
   Command Line Interface Reference, Modes C - D, StarOS Release 19
710
Context Configuration Mode Commands I-M
ip name-servers