Configuring recursive DNS server addresses
RDNSS addresses allow IPv6 devices to advertise recursive DNS server addresses and
lifetime multiplier values to IPv6 hosts in a local area network. The following task
configures two DNS server addresses to be advertised for an Ethernet interface in
router advertisement (RA) messages, and sets separate lifetime multiplier values for
each of the DNS server addresses configured.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
interfacecommand and specify an interface. - Enter the
ipv6 nd ra-dns-servercommand, specifying an IPv6 address, to configure a DNS server to be advertised in RA messages. Use the lifetime-multiplier keyword, entering a value, to specify the maximum RA interval. - Enter the
ipv6 nd ra-dns-servercommand, specifying an IPv6 address, to configure a DNS server to be advertised in RA messages. Use the lifetime-multiplier keyword, entering a value, to specify the value of the maximum RA interval.
The following example configures a DNS server with the IPv6 address 2001::1 to be advertised in RA messages, with a lifetime multiplier of 1. It also configures a DNS server with the IPv6 address 2001::2 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 1 device(config-if-e1000-1/1/3)# ipv6 nd ra-dns-server 2001::2 lifetime-multiplier 2