]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix the default interface-interval docs and default value
authorOndřej Surý <ondrej@isc.org>
Tue, 18 Mar 2025 13:05:39 +0000 (14:05 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 1 Jul 2025 10:15:11 +0000 (12:15 +0200)
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.

(cherry picked from commit de08c0088dbdeac7e97c343835f4fdb465dff27d)

bin/named/config.c
doc/arm/reference.rst

index 26cc9f3d14aea21eb9d826b0e09d463e41f6fb1e..aa9453ea7c5a417762ceb78cd91db38d72340244 100644 (file)
@@ -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\
index 76bb95a6ec3ddf3f74ac5d4fb96aec84e417338c..e14c19a0fc8f97331e489e49c2de71e59a4da425 100644 (file)
@@ -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
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^