Cisco Cisco Packet Data Gateway (PDG) Merkblatt
Subscriber Configuration Mode Commands
▀ dns
▄ Cisco ASR 5x00 Command Line Interface Reference
8246
dns
Configures the domain name servers for the current subscriber.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Subscriber Configuration
configure > context context_name > subscriber { default | name subscriber_name }
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-subscriber)#
Syntax
[ no ] dns { primary | secondary } ip_address
no
Indicates the IP address is to be removed as either a primary or secondary domain name server.
dns primary
|
secondary
dns primary
: Updates the primary domain name server for the subscriber.
dns secondary
: Updates the secondary domain name server for the subscriber.
ip_address
Specifies the IP address of the domain name server using IPv4 dotted-decimal notation.
Usage
Set the subscriber DNS server lists as not all users will have the same set of servers.
Example
dns primary 10.2.3.4
no dns primary 10.2.3.4
dns secondary 10.2.5.6
no dns secondary 10.2.5.6