Cisco Cisco Packet Data Gateway (PDG)
APN Configuration Mode Commands
dns ▀
Command Line Interface Reference, StarOS Release 17 ▄
1331
dns
Configures the Domain Name Service (DNS) servers that will be used by the APN for PPP.
Product
GGSN
P-GW
SAEGW
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > APN Configuration
configure > context context_name > apn apn_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-apn)#
Syntax
dns { primary | secondary } { address }
no dns { primary | secondary } [ dns_address ]
no
Deletes a previously configured DNS server.
primary
Configures the primary DNS server for the APN.
secondary
Configures the secondary DNS server for the APN. Only one secondary DNS server can be configured.
address
Configures the IP address of the DNS server expressed in IPv4 dotted-decimal notation.
Default: primary = 0.0.0.0, secondary = 0.0.0.0
Default: primary = 0.0.0.0, secondary = 0.0.0.0
dns_address
Specifies the IP address of the DNS server to remove, expressed in IPv4 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.
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.