ipv6 nd ra-dns-server

Configures the IPv6 router advertisement (RA) of Domain Name System (DNS) server addresses and the lifetime multiplier on an interface.
Syntax
ipv6 nd ra-dns-server ipv6-address [ lifetime-multiplier decimal ]
no ipv6 nd ra-dns-server ipv6-address [ lifetime-multiplier decimal ]
Command Default

Recursive DNS server (RDNSS) address and lifetime multiplier information is not configured. The DNS server is not advertised in IPv6 RA messages.

Parameters
ipv6-address
Specifies the IPv6 address of the DNS server to be advertised in RA messages.
lifetime-multiplier decimal
Specifies the value of the maximum RA interval (the maximum time allowed between sending unsolicited RA messages for DNS name resolution). The calculated lifetime value = configured value * max RA interval. Valid values range from 1 through 3. The default is 3 (that is, three times the configured maximum RA interval).
Modes

Interface configuration mode

Usage Guidelines

You can configure a maximum of 15 RDNSS addresses and corresponding lifetime multiplier values in a given instance.

The no form of the command removes the configured DNS server address and lifetime multiplier value.

Examples

The following example configures a DNS server with the IPv6 address 2001::1 to be advertised in RA messages, with a lifetime multiplier of 2.

device# configure terminal
device(config)# interface ethernet 1/1/3
device(config-if-e1000-1/1/3)# ipv6 nd ra-dns-server 2001::1 lifetime-multiplier 2
History
Release version Command history
08.0.80 This command was introduced.