Cisco Cisco Packet Data Gateway (PDG) Guida Alla Risoluzione Dei Problemi
Context Configuration Mode Commands
ip name-servers ▀
Cisco ASR 5000 Series Command Line Interface Reference ▄
OL-22947-02
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
Syntax
Indicates the name server specified is to be removed from the list of name servers for the current context.
Specifies the IP address of a domain name server.
must be specified using either standard
IPv4 dotted decimal notation or standard IPv6 colon-separated notation.
Specifies the IP address of a secondary domain name server.
must be specified
using either standard IPv4 dotted decimal notation or standard IPv6 colon-separated 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
and
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
2. DNS values received from RADIUS Server has the second preference.
3. DNS values locally configured with APN with
and
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.
Example