2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 18:19:42 +00:00

Fix the default interface-interval docs and default value

When the interface-interval parser was changed from uint32 parser to
duration parser, the default value stayed at plain 60 which now means 60
seconds instead of 60 minutes.  Fix the default value and the
documentation to match the reality.
This commit is contained in:
Ondřej Surý 2025-03-18 14:05:39 +01:00
parent 8d4748121f
commit de08c0088d
No known key found for this signature in database
GPG Key ID: 2820F37E873DEA41
2 changed files with 7 additions and 4 deletions

View File

@ -66,7 +66,7 @@ options {\n\
geoip-directory \".\";\n" geoip-directory \".\";\n"
#endif /* if defined(HAVE_GEOIP2) */ #endif /* if defined(HAVE_GEOIP2) */
"\ "\
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\

View File

@ -4010,9 +4010,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
@ -4020,6 +4021,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.
.. _rrset_ordering: .. _rrset_ordering:
RRset Ordering RRset Ordering