Configure Router Advertisement of an IPv6 DNS Server

You can configure a maximum of 4 DNS server addresses in an IPv6 router advertisement.

About this task

The lifetime value is the number of seconds that a DNS server is advertised in a router advertisement. Changes to DNS attributes take effect in the next scheduled router advertisement.

Procedure

  1. Access global configuration mode.
    device# configuration terminal
  2. Access interface configuration mode.
    device (config)# interface ethernet 0/1
  3. Configure a DNS server to be advertised.
    device(conf-if-eth-0/1)# ipv6 nd ra-dns-server 2001:DB8:0:ee44::1 lifetime 200

    This example uses the ipv6 nd ra-dns-server command to configure a DNS server with the 2001:DB8:0:ee44::1 address to be advertised in a router advertisement for 200 seconds.