2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

[9.20] fix: usr: Fix the default interface-interval from 60s to 60m

When the interface-interval parser was changed from uint32 parser to
duration parser, the default value stayed at plain number `60` which
now means 60 seconds instead of 60 minutes.  The documentation also
incorrectly states that the value is in minutes.  That has been fixed.

Closes #5246

Backport of MR !10281

Merge branch 'backport-5246-fix-default-interface-interval-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10679
This commit is contained in:
Ondřej Surý 2025-07-01 14:47:12 +02:00
commit e8ffe3a15c
2 changed files with 7 additions and 4 deletions

View File

@ -64,7 +64,7 @@ options {\n\
#endif /* if defined(HAVE_GEOIP2) */
"\
heartbeat-interval 60;\n\
interface-interval 60;\n\
interface-interval 60m;\n \
listen-on {any;};\n\
listen-on-v6 {any;};\n\
match-mapped-addresses no;\n\

View File

@ -4119,9 +4119,10 @@ Periodic Task Intervals
:tags: server
:short: Sets the interval at which the server scans the network interface list.
The server scans the network interface list every :any:`interface-interval`
minutes. The default is 60 minutes; the maximum value is 28 days (40320
minutes). If set to 0, interface scanning only occurs when the configuration
The server scans the network interface list on every interval as specified by
:any:`interface-interval`.
If set to 0, interface scanning only occurs when the configuration
file is loaded, or when :any:`automatic-interface-scan` is enabled and supported
by the operating system. After the scan, the server begins listening for
queries on any newly discovered interfaces (provided they are allowed by the
@ -4129,6 +4130,8 @@ Periodic Task Intervals
gone away. For convenience, TTL-style time-unit suffixes may be used to
specify the value. It also accepts ISO 8601 duration formats.
The default is 60 minutes (1 hour); the maximum value is 28 days.
The :any:`sortlist` Statement
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^