Cisco Cisco Packet Data Gateway (PDG)
APN Profile Configuration Mode
▀ dns
▄ Command Line Interface Reference, StarOS Release 18
1508
dns
Configure the primary and secondary IPv4 or IPv6 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 [ ipv6 ] { primary | secondary } ip_address
[ no ] dns [ ipv6 ] { primary | secondary }
no
If previously configured, removes the DNS primary or secondary IP address to be used for web authorization.
ipv6
Specify IPv6 DNS server(s) to enable Flow-based Local Breakout GTPv2 sessions.
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 IPv4 or IPv6 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.
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.
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