ipv6 nd ra dns server


ipv6 nd ra dns server <IPV6-ADDR>  [lifetime <TIME>]

no ipv6 nd ra dns server <IPV6-ADDR>


Configures the IPv6 address of a preferred Recursive DNS Server (RDNSS) to be included in Router Advertisements (RAs) transmitted on the interface.

The no form of this command removes the configured DNS server from the RAs transmitted on the interface.

Command context




Specifies the RDNSS address in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where x is a hexadecimal number from 0 to F. You can use two colons (::) to represent consecutive zeros (but only once), remove leading zeros, and collapse a hextet of four zeros to a single 0. For example, this address 2222:0000:3333:0000:0000:0000:4444:0055 becomes 2222:0:3333::4444:55.

lifetime <TIME>

Specifies IPv6 DNS server lifetime in seconds. Range: 4-4294967295 seconds. Default: 1800 seconds.


Administrators or local user group members with execution rights for this command.


  • Including RDNSS information in RAs provides DNS server configuration for connected IPv6 hosts without requiring DHCPv6.

  • Multiple servers can be configured on the interface by using the command repeatedly.

  • A maximum of eight server addresses are allowed.


switch(config)# interface 1/1/1
switch(config-if)# ipv6 nd ra dns server 2001::1 lifetime 400