mirror of
https://github.com/openbsd/src.git
synced 2025-01-04 15:25:38 -08:00
Adjust rDNS lifetime to RFC 8106 default (minimum) value.
It doesn't make sense to have the rDNS lifetime lower than the router lifetime, this information travels together. Pointed out by & OK jrick
This commit is contained in:
parent
d45ba34c1b
commit
4905b49233
@ -1,4 +1,4 @@
|
||||
.\" $OpenBSD: rad.conf.5,v 1.26 2024/11/09 12:40:10 kn Exp $
|
||||
.\" $OpenBSD: rad.conf.5,v 1.27 2024/12/28 08:58:13 florian Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2018 Florian Obser <florian@openbsd.org>
|
||||
.\" Copyright (c) 2005 Esben Norby <norby@openbsd.org>
|
||||
@ -18,7 +18,7 @@
|
||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
.\"
|
||||
.Dd $Mdocdate: November 9 2024 $
|
||||
.Dd $Mdocdate: December 28 2024 $
|
||||
.Dt RAD.CONF 5
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -76,7 +76,7 @@ options are as follows:
|
||||
.It Ic lifetime Ar seconds
|
||||
The number of seconds the dns options are valid after receiving a router
|
||||
advertisement message.
|
||||
The default is 900 seconds.
|
||||
The default is 1800 seconds.
|
||||
.It Ic nameserver Pq Ar address Ns | Ns Brq Ar address ...
|
||||
IPv6 address or list of IPv6 addresses of DNS name servers.
|
||||
.It Ic search Pq Ar domain Ns | Ns Brq Ar domain ...
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: rad.h,v 1.28 2024/05/31 16:10:42 florian Exp $ */
|
||||
/* $OpenBSD: rad.h,v 1.29 2024/12/28 08:58:14 florian Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
|
||||
@ -34,7 +34,7 @@
|
||||
#define MAX_RA_DELAY_TIME 500 /* 500 milliseconds */
|
||||
#define MIN_DELAY_BETWEEN_RAS 3 /* 3 seconds */
|
||||
#define MAX_SEARCH 1025 /* MAXDNAME in arpa/nameser.h */
|
||||
#define DEFAULT_RDNS_LIFETIME 600 * 1.5
|
||||
#define DEFAULT_RDNS_LIFETIME 3 * MAX_RTR_ADV_INTERVAL
|
||||
#define PLTIME_DECAYING 1
|
||||
#define VLTIME_DECAYING 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user