lifetime (Router Advertisement)
Syntax
lifetime seconds;
Hierarchy Level
[edit logical-systems logical-system-name protocols router-advertisement interface interface-name dns-server-address address], [edit protocols router-advertisement interface interface-name dns-server-address address]
Description
Specify the maximum time in seconds for which the recursive DNS server address remains valid. The device can use the specified recursive DNS server address for DNS name resolution until the time specified by this statement.
seconds– Maximum time for which the recursive DNS server address remains valid.
Options
Range: 0 through 4294967295 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.
4294967295 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.