mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.18] 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.18' into 'bind-9.18' See merge request isc-projects/bind9!10680
This commit is contained in:
commit
0be568f921
2 changed files with 7 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ options {\n\
|
|||
#endif /* if defined(HAVE_GEOIP2) */
|
||||
"\
|
||||
heartbeat-interval 60;\n\
|
||||
interface-interval 60;\n\
|
||||
interface-interval 60m;\n\
|
||||
# keep-response-order {none;};\n\
|
||||
listen-on {any;};\n\
|
||||
listen-on-v6 {any;};\n\
|
||||
|
|
|
|||
|
|
@ -4117,9 +4117,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
|
||||
|
|
@ -4127,6 +4128,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
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue