Cisco Cisco Packet Data Interworking Function (PDIF) Guía Para Resolver Problemas
APN Configuration Mode Commands
dns ▀
Cisco ASR 5000 Series Command Line Interface Reference ▄
OL-22947-02
dns
Configures the Domain Name Service (DNS) servers that will be used by the APN for PPP.
Product
GGSN, P-GW
Privilege
Security Administrator, Administrator
Syntax
Deletes a previously configured DNS server.
Configures the primary DNS server for the APN.
Configures the secondary DNS server for the APN. Only one secondary DNS server can be configured.
Default: primary = 0.0.0.0, secondary = 0.0.0.0
Configures the IP address of the DNS server.
Configures the IP address of the DNS server.
must be expressed in dotted decimal notation.
Specifies the IP address of the DNS server to remove.
must be expressed in dotted decimal
notation.
Usage
DNS servers are configured on a per-APN profile basis. This allows each APN profile to use specific servers
in processing PDP contexts.
The configured DNS IP addresses are relayed to the subscriber within IPCP if the PDP type is PPP, or as
PCOs (Protocol Configuration Options) if the PDP type is IP.
The DNS can be specified at the APN level in APN configuration as well as at the Context level in Context
configuration mode with
in processing PDP contexts.
The configured DNS IP addresses are relayed to the subscriber within IPCP if the PDP type is PPP, or as
PCOs (Protocol Configuration Options) if the PDP type is IP.
The DNS can be specified at the APN level in APN configuration as well as at the Context level in Context
configuration mode with
command, 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 has the third preference.
4. DNS values configured at context level with
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 has the third preference.
4. DNS values configured at context level with
command has the last preference.