Cisco Cisco Packet Data Gateway (PDG)
Context Configuration Mode Commands I-M
▀ ip name-servers
▄ Command Line Interface Reference, StarOS Release 16
2472
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
Mode
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
ip name-servers ip_address secondary_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.
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.
separated-hexadecimal notation.
Usage
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
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:
1. DNS Values received from LNS have the first preference.
2. DNS values received from RADIUS Server has the second preference.
3. DNS values locally configured with APN with
dns
and
ipv6 dns
commands has the third
preference.
4. DNS values configured at context level has the last preference.
Important:
The same preference would be applicable for the NBNS servers to be negotiated via ICPC with the
LNS.