mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +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:
@@ -64,7 +64,7 @@ options {\n\
|
|||||||
#endif /* if defined(HAVE_GEOIP2) */
|
#endif /* if defined(HAVE_GEOIP2) */
|
||||||
"\
|
"\
|
||||||
heartbeat-interval 60;\n\
|
heartbeat-interval 60;\n\
|
||||||
interface-interval 60;\n\
|
interface-interval 60m;\n \
|
||||||
listen-on {any;};\n\
|
listen-on {any;};\n\
|
||||||
listen-on-v6 {any;};\n\
|
listen-on-v6 {any;};\n\
|
||||||
match-mapped-addresses no;\n\
|
match-mapped-addresses no;\n\
|
||||||
|
@@ -4119,9 +4119,10 @@ Periodic Task Intervals
|
|||||||
:tags: server
|
:tags: server
|
||||||
:short: Sets the interval at which the server scans the network interface list.
|
:short: Sets the interval at which the server scans the network interface list.
|
||||||
|
|
||||||
The server scans the network interface list every :any:`interface-interval`
|
The server scans the network interface list on every interval as specified by
|
||||||
minutes. The default is 60 minutes; the maximum value is 28 days (40320
|
:any:`interface-interval`.
|
||||||
minutes). If set to 0, interface scanning only occurs when the configuration
|
|
||||||
|
If set to 0, interface scanning only occurs when the configuration
|
||||||
file is loaded, or when :any:`automatic-interface-scan` is enabled and supported
|
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
|
by the operating system. After the scan, the server begins listening for
|
||||||
queries on any newly discovered interfaces (provided they are allowed by the
|
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
|
gone away. For convenience, TTL-style time-unit suffixes may be used to
|
||||||
specify the value. It also accepts ISO 8601 duration formats.
|
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
|
The :any:`sortlist` Statement
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user