dns-server (BNG)
To specify the Domain Name System (DNS) IPv6 servers available to a Dynamic Host Configuration Protocol
(DHCP) for IPv6 client, use the dns-server command in an appropriate configuration mode. To remove the
DNS server list, use the no form of this command.
dns-server ipv6-address
no dns-server ipv6-address
Syntax Description
IPv6 address of a DNS server.
This argument must be in the form documented in RFC 2373, where the address is
specified in hexadecimal using 16-bit values between colons.
ipv6-address
Command Default
When a DHCP for IPv6 pool is first created, no DNS IPv6 servers are configured.
Command Modes
DHCP IPv6 server profile configuration
DHCP IPv6 server profile class configuration
Command History
ModificationRelease
This command was supported in DHCP IPv6 server profile and class
configuration mode in BNG.
Release 4.3.0
Usage Guidelines
Multiple Domain Name System (DNS) server addresses can be configured by issuing this command multiple
times. New addresses do not overwrite old addresses.
To enter the DHCP IPv6 server profile configuration, enter profile profile_name server command in the
DHCPv6 configuration mode.
To enter the DHCP IPv6 server profile class configuration, enter class class_name command in the DHCPv6
server profile configuration mode.
Task ID
OperationsTask ID
read, writeip-services
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference,
Release 5.2.x
152
BNG DHCP Commands
dns-server (BNG)