ipv6 dns

Configures the DNS domain name and the primary and secondary name-server IPv6 addresses.

Syntax

ipv6 dns { domain-name domain_name | name-server name_server }
no ipv6 dns { domain-name domain_name | name-server name_server }

Parameters

domain-name domain_name
Specifies the DNS domain name.
name-server name_server
Specifies the IPv6 address of the primary and secondary name servers. Both the IPv6 and IPv4 addresses are supported.

Modes

Global configuration mode

Usage Guidelines

Your first run of ipv6 dns name-server specifies the default IP gateway address. Your second run of ipv6 dns name-server specifies the secondary IP gateway address.

Name servers can only be entered or removed one at a time. The newly entered name server will append to the existing name server.

To disable IP directed broadcasts for a specific domain, enter no ipv6 dns domain-name domain_name.

To delete a name-server definition, enter no ipv6 dns name-server ipv6_address_of_name_server.

Examples

The following example configures DNS.

device(config)# ipv6 dns domain-name mycompany.com 
device(config)# ipv6 dns name-server 2001:db8:12d:1300:240z:d0ff:fe48:4672