Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring a Recursive DNS Server Address for IPv6 Hosts

date_range 24-Nov-23

For IPv6 hosts, a maximum of three recursive DNS server addresses can be configured along with their respective lifetimes. The configured IPv6 host uses the specified recursive DNS server address for DNS resolution where the IPv6 host’s address is autoconfigured through an IPv6 stateless address and where there is no DHCPv6 infrastructure available.

To configure a recursive DNS server address on IPv6 hosts, follow these steps:

  1. Configure the recursive DNS server address for the IPv6 host.
    content_copy zoom_out_map
    [edit protocols router-advertisement]
    user@host# set interfaces interface name dns-server-address address 
    

    For example, to assign IPv6 address abcd:1::1 as the recursive dns server address to interface fe-1/0/1:

    content_copy zoom_out_map
    [edit protocols router-advertisement]
    user@host# set interfaces fe-1/0/1 dns-server-address abcd:1::1 
    
  2. Configure the lifetime to specify the time in seconds for which the recursive DNS server address remains valid.
    content_copy zoom_out_map
    [edit protocols router-advertisement interfaces interface name dns-server-address address]
    user@host# set lifetime seconds
    

    For example, to specify a lifetime of 60 seconds for the recursive DNS server address:

    content_copy zoom_out_map
    [edit protocols router-advertisement interfaces interface name dns-server-address address]
    user@host# set lifetime 60
    

    The default value of the lifetime of the configured recursive DNS server address is 1800 seconds.

footer-navigation