From 5a23e7abd157e39eb4ce98081c708bbeea12246f Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Fri, 21 Feb 2020 13:08:49 -0800 Subject: [PATCH] document max-ixfr-ratio --- doc/arm/Bv9ARM-book.xml | 53 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 48 insertions(+), 5 deletions(-) diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index 89c54f9654..a006816a29 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -1474,30 +1474,43 @@ controls { The incremental zone transfer (IXFR) protocol is a way for - slave servers to transfer only changed data, instead of having to + secondary servers to transfer only changed data, instead of having to transfer the entire zone. The IXFR protocol is specified in RFC 1995. See . - When acting as a master, BIND 9 + When acting as a primary server, BIND 9 supports IXFR for those zones where the necessary change history information is available. These - include master zones maintained by dynamic update and slave zones + include primary zones maintained by dynamic update and secondary zones whose data was obtained by IXFR. For manually maintained master - zones, and for slave zones obtained by performing a full zone + zones, and for secondary zones obtained by performing a full zone transfer (AXFR), IXFR is supported only if the option ixfr-from-differences is set to yes. - When acting as a slave, BIND 9 will + When acting as a secondary server, BIND 9 will attempt to use IXFR unless it is explicitly disabled. For more information about disabling IXFR, see the description of the request-ixfr clause of the server statement. + + + When a secondary server receives a zone via AXFR, it creates a + new copy of the zone database and then swaps it into place; during + the loading process, queries continue to be served from the old + database with no interference. When receiving a zone via IXFR, + however, changes are applied to the running zone, which may + degrade query performance during the transfer. If a server + receiving an IXFR request determines that the response size would + be similar in size to an AXFR response, it may wish to send AXFR + instead. The threshold at which this determination is made can + be configured using the max-ixfr-ratio option. +
Split DNS @@ -4656,6 +4669,25 @@ badresp:1,adberr:0,findfail:0,valfail:0] + + max-ixfr-ratio + + + Sets the size threshold (expressed as a percentage + of the size of the full zone) beyond which + named will choose to use an AXFR + response rather than IXFR when answering zone transfer + requests. See . + + + The minimum value is 1%. The keyword + unlimited disables ratio checking and + allows IXFRs of any size. The default is + 100%. + + + + new-zones-directory @@ -12424,6 +12456,17 @@ view "external" { + + max-ixfr-ratio + + + See the description of + max-ixfr-ratio in + . + + + + max-journal-size