mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 22:42:04 -04:00
deprecate "dialup" and "heartbeat-interval"
these options concentrate zone maintenance actions into bursts for the benefit of servers with intermittent connections. that's no longer something we really need to optimize.
This commit is contained in:
parent
cd0f115082
commit
eeeccec67c
8 changed files with 20 additions and 10 deletions
|
|
@ -19,6 +19,9 @@ options {
|
|||
dnssec-validation yes;
|
||||
max-zone-ttl 600;
|
||||
|
||||
dialup yes;
|
||||
heartbeat-interval 60;
|
||||
|
||||
use-v4-udp-ports { range 1024 65535; };
|
||||
use-v6-udp-ports { range 1024 65535; };
|
||||
avoid-v4-udp-ports { range 1 1023; };
|
||||
|
|
|
|||
|
|
@ -153,6 +153,8 @@ grep "option 'use-v4-udp-ports' is deprecated" < checkconf.out$n.1 > /dev/null |
|
|||
grep "option 'use-v6-udp-ports' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
grep "option 'avoid-v4-udp-ports' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
grep "option 'avoid-v6-udp-ports' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
grep "option 'dialup' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
grep "option 'heartbeat-interval' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
grep "token 'port' is deprecated" < checkconf.out$n.1 > /dev/null || ret=1
|
||||
if [ $ret -ne 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
|
|
|||
|
|
@ -1973,9 +1973,11 @@ Boolean Options
|
|||
record <named -m>` is specified on the command line, in which case it is ``yes``.
|
||||
|
||||
.. namedconf:statement:: dialup
|
||||
:tags: transfer
|
||||
:tags: deprecated
|
||||
:short: Concentrates zone maintenance so that all transfers take place once every :any:`heartbeat-interval`, ideally during a single call.
|
||||
|
||||
This option is deprecated and will be removed in a future release.
|
||||
|
||||
If ``yes``, then the server treats all zones as if they are doing
|
||||
zone transfers across a dial-on-demand dialup link, which can be
|
||||
brought up by traffic originating from this server. Although this setting has
|
||||
|
|
@ -3793,7 +3795,7 @@ Periodic Task Intervals
|
|||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. namedconf:statement:: heartbeat-interval
|
||||
:tags: zone
|
||||
:tags: deprecated
|
||||
:short: Sets the interval at which the server performs zone maintenance tasks for all zones marked as :any:`dialup`.
|
||||
|
||||
The server performs zone maintenance tasks for all zones marked
|
||||
|
|
@ -3802,6 +3804,8 @@ Periodic Task Intervals
|
|||
maximum value is 28 days (40320 minutes). If set to 0, no zone
|
||||
maintenance for these zones occurs.
|
||||
|
||||
This option is deprecated and will be removed in a future release.
|
||||
|
||||
.. namedconf:statement:: interface-interval
|
||||
:tags: server
|
||||
:short: Sets the interval at which the server scans the network interface list.
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ options {
|
|||
cookie-secret <string>; // may occur multiple times
|
||||
deny-answer-addresses { <address_match_element>; ... } [ except-from { <string>; ... } ];
|
||||
deny-answer-aliases { <string>; ... } [ except-from { <string>; ... } ];
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> );
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
||||
directory <quoted_string>;
|
||||
disable-algorithms <string> { <string>; ... }; // may occur multiple times
|
||||
disable-ds-digests <string> { <string>; ... }; // may occur multiple times
|
||||
|
|
@ -147,7 +147,7 @@ options {
|
|||
fstrm-set-output-queue-size <integer>; // not configured
|
||||
fstrm-set-reopen-interval <duration>; // not configured
|
||||
geoip-directory ( <quoted_string> | none );
|
||||
heartbeat-interval <integer>;
|
||||
heartbeat-interval <integer>; // deprecated
|
||||
hostname ( <quoted_string> | none );
|
||||
http-listener-clients <integer>;
|
||||
http-port <integer>;
|
||||
|
|
@ -392,7 +392,7 @@ view <string> [ <class> ] {
|
|||
clients-per-query <integer>;
|
||||
deny-answer-addresses { <address_match_element>; ... } [ except-from { <string>; ... } ];
|
||||
deny-answer-aliases { <string>; ... } [ except-from { <string>; ... } ];
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> );
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
||||
disable-algorithms <string> { <string>; ... }; // may occur multiple times
|
||||
disable-ds-digests <string> { <string>; ... }; // may occur multiple times
|
||||
disable-empty-zone <string>; // may occur multiple times
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ zone <string> [ <class> ] {
|
|||
check-wildcard <boolean>;
|
||||
checkds ( explicit | <boolean> );
|
||||
database <string>;
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> );
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
||||
dlz <string>;
|
||||
dnskey-sig-validity <integer>; // obsolete
|
||||
dnssec-dnskey-kskonly <boolean>; // obsolete
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ zone <string> [ <class> ] {
|
|||
check-names ( fail | warn | ignore );
|
||||
checkds ( explicit | <boolean> );
|
||||
database <string>;
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> );
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
||||
dlz <string>;
|
||||
dnskey-sig-validity <integer>; // obsolete
|
||||
dnssec-dnskey-kskonly <boolean>; // obsolete
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ zone <string> [ <class> ] {
|
|||
allow-query-on { <address_match_element>; ... };
|
||||
check-names ( fail | warn | ignore );
|
||||
database <string>;
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> );
|
||||
dialup ( notify | notify-passive | passive | refresh | <boolean> ); // deprecated
|
||||
file <quoted_string>;
|
||||
forward ( first | only );
|
||||
forwarders [ port <integer> ] [ tls <string> ] { ( <ipv4_address> | <ipv6_address> ) [ port <integer> ] [ tls <string> ]; ... };
|
||||
|
|
|
|||
|
|
@ -1260,7 +1260,7 @@ static cfg_clausedef_t options_clauses[] = {
|
|||
#endif /* HAVE_GEOIP2 */
|
||||
{ "geoip-use-ecs", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "has-old-clients", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "heartbeat-interval", &cfg_type_uint32, 0 },
|
||||
{ "heartbeat-interval", &cfg_type_uint32, CFG_CLAUSEFLAG_DEPRECATED },
|
||||
{ "host-statistics", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "host-statistics-max", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "hostname", &cfg_type_qstringornone, 0 },
|
||||
|
|
@ -2274,7 +2274,8 @@ static cfg_clausedef_t zone_clauses[] = {
|
|||
{ "check-svcb", &cfg_type_boolean, CFG_ZONE_PRIMARY },
|
||||
{ "check-wildcard", &cfg_type_boolean, CFG_ZONE_PRIMARY },
|
||||
{ "dialup", &cfg_type_dialuptype,
|
||||
CFG_ZONE_PRIMARY | CFG_ZONE_SECONDARY | CFG_ZONE_STUB },
|
||||
CFG_ZONE_PRIMARY | CFG_ZONE_SECONDARY | CFG_ZONE_STUB |
|
||||
CFG_CLAUSEFLAG_DEPRECATED },
|
||||
{ "dnssec-dnskey-kskonly", &cfg_type_boolean,
|
||||
CFG_ZONE_PRIMARY | CFG_ZONE_SECONDARY | CFG_CLAUSEFLAG_OBSOLETE },
|
||||
{ "dnssec-loadkeys-interval", &cfg_type_uint32,
|
||||
|
|
|
|||
Loading…
Reference in a new issue