Cisco Cisco Packet Data Gateway (PDG)
APN Profile Configuration Mode
▀ dns
▄ Command Line Interface Reference, StarOS Release 17
1494
dns
Configure the primary and secondary IP address of the DNS servers.
Product
SaMOG
Privilege
Administrator
Mode
Exec > Global Configuration > APN Profile Configuration
configure > apn-profile profile_name
Entering the above command sequence results in the following prompt:
[local]host_name(apn-profile-profile_name)#
Syntax
dns { primary | secondary } ip_address
[ no ] dns { primary | secondary }
no
If previously configured, removes the DNS primary or secondary IP address to be used for web authorization.
primary | secondary IP_address
Specify the primary or secondary DNS server address using the
primary | secondary
keywords.
ip_address
must be expressed in IPv4 dotted-decimal or IPv6 colon-separated (when the
ipv6
keyword
is configured)notation format.
Usage
Use this command to configure the IP address of the primary and secondary DNS servers to be used during
session setup. The primary and secondary DNS servers specified in this configuration will be used only if the
AAA server does not specify the same.
session setup. The primary and secondary DNS servers specified in this configuration will be used only if the
AAA server does not specify the same.
Important:
This command is license dependent. Contact your Cisco account representative for more information
on SaMOG feature license requirements.
Example
The following command configures a primary DNS server with the IP address 162.123.23.1:
dns primary 162.123.23.1