Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

dns-server-address (Dynamic Profiles)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.1.

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-addressDynamically receive the address of the DNS server from RADIUS in Access-Accept messages.
dns-server-addressIPv6 address of the DNS server. You can configure up to three DNS server addresses.
lifetime secondsMaximum 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.