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
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

dns-server-address (Dynamic Profiles)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
dns-server-address [dns-server-address | $junos-ipv6-dns-server-address] {
    lifetime seconds; 
}

Hierarchy Level

content_copy zoom_out_map
[edit dynamic-profiles dynamic-profile-name protocols router-advertisement interface interface-name]

Description

Specify the address of the DNS server that is used to resolve IPv6 DNS names. You can use RADIUS to provide the address dynamically in the $junos-ipv6-dns-server variable within Access-Accept messages, or you can statically configure up to three IPv6 addresses.

You can also specify the maximum time in seconds for which the DNS server address remains valid. The device can use the recursive DNS server address for DNS name resolution until the time specified expires.

Options

$junos-ipv6-dns-server-address

Dynamically receive the address of the DNS server from RADIUS in Access-Accept messages.

dns-server-address

IPv6 address of the DNS server. You can configure up to three DNS server addresses.

lifetime seconds

Maximum time for which the recursive DNS server address remains valid.

  • Range: 0 through 4,294,967,295 seconds

  • Default: 1800 seconds

  • Values: 0 indicates that the advertised recursive DNS server address is no longer valid and that this recursive DNS server address entry can be deleted.

    A value of 4,294,967,295 seconds indicates an infinite lifetime and a persistent entry in the device for this recursive DNS server address.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.1.

footer-navigation