mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-01 21:10:55 -05:00
add a configuration option for the update quota
add an "update-quota" option to configure the update quota.
(cherry picked from commit f57758a730)
This commit is contained in:
parent
9f1ebd25f6
commit
3d2033bb89
7 changed files with 14 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ options {\n\
|
|||
trust-anchor-telemetry yes;\n\
|
||||
udp-receive-buffer 0;\n\
|
||||
udp-send-buffer 0;\n\
|
||||
update-quota 100;\n\
|
||||
\n\
|
||||
/* view */\n\
|
||||
allow-new-zones no;\n\
|
||||
|
|
|
|||
|
|
@ -8685,6 +8685,7 @@ load_configuration(const char *filename, named_server_t *server,
|
|||
configure_server_quota(maps, "tcp-clients", &server->sctx->tcpquota);
|
||||
configure_server_quota(maps, "recursive-clients",
|
||||
&server->sctx->recursionquota);
|
||||
configure_server_quota(maps, "update-quota", &server->sctx->updquota);
|
||||
|
||||
max = isc_quota_getmax(&server->sctx->recursionquota);
|
||||
if (max > 1000) {
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ options {
|
|||
recursive-clients 3000;
|
||||
serial-query-rate 100;
|
||||
server-id none;
|
||||
update-quota 200;
|
||||
check-names primary warn;
|
||||
check-names secondary ignore;
|
||||
max-cache-size 20000000000000;
|
||||
|
|
|
|||
|
|
@ -3979,6 +3979,14 @@ system.
|
|||
value as :any:`tcp-keepalive-timeout`. This value can be updated at
|
||||
runtime by using :option:`rndc tcp-timeouts`.
|
||||
|
||||
.. namedconf:statement:: update-quota
|
||||
:tags: server
|
||||
:short: Specifies the maximum number of concurrent DNS UPDATE messages that can be processed by the server.
|
||||
|
||||
This is the maximum number of simultaneous DNS UPDATE messages that
|
||||
the server will accept for updating local authoritiative zones or
|
||||
forwarding to a primary server. The default is ``100``.
|
||||
|
||||
.. _intervals:
|
||||
|
||||
Periodic Task Intervals
|
||||
|
|
|
|||
|
|
@ -367,6 +367,7 @@ options {
|
|||
udp\-receive\-buffer <integer>;
|
||||
udp\-send\-buffer <integer>;
|
||||
update\-check\-ksk <boolean>;
|
||||
update\-quota <integer>;
|
||||
use\-alt\-transfer\-source <boolean>; // deprecated
|
||||
use\-v4\-udp\-ports { <portrange>; ... };
|
||||
use\-v6\-udp\-ports { <portrange>; ... };
|
||||
|
|
|
|||
|
|
@ -310,6 +310,7 @@ options {
|
|||
udp-receive-buffer <integer>;
|
||||
udp-send-buffer <integer>;
|
||||
update-check-ksk <boolean>;
|
||||
update-quota <integer>;
|
||||
use-alt-transfer-source <boolean>; // deprecated
|
||||
use-v4-udp-ports { <portrange>; ... };
|
||||
use-v6-udp-ports { <portrange>; ... };
|
||||
|
|
|
|||
|
|
@ -1342,6 +1342,7 @@ static cfg_clausedef_t options_clauses[] = {
|
|||
{ "treat-cr-as-space", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "udp-receive-buffer", &cfg_type_uint32, 0 },
|
||||
{ "udp-send-buffer", &cfg_type_uint32, 0 },
|
||||
{ "update-quota", &cfg_type_uint32, 0 },
|
||||
{ "use-id-pool", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "use-ixfr", NULL, CFG_CLAUSEFLAG_ANCIENT },
|
||||
{ "use-v4-udp-ports", &cfg_type_bracketed_portlist, 0 },
|
||||
|
|
|
|||
Loading…
Reference in a new issue