mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-14 14:42:22 -04:00
Reintroduce logic to apply diffs when the number of pending tuples is
above 128. The previous strategy of accumulating all the tuples and
pushing them at the end leads to excessive memory consumption during
transfer.
This effectively reverts half of e3892805d6
94 lines
1.7 KiB
Text
94 lines
1.7 KiB
Text
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
// NS2
|
|
|
|
options {
|
|
pid-file "named.pid";
|
|
listen-on port @PORT@ { 10.53.0.2; };
|
|
listen-on-v6 { none; };
|
|
port @PORT@;
|
|
recursion no;
|
|
notify no;
|
|
servfail-ttl 0;
|
|
dnssec-validation no;
|
|
max-records-per-type 2000;
|
|
max-types-per-name 200;
|
|
};
|
|
|
|
zone "example" {
|
|
type primary;
|
|
file "example.db";
|
|
};
|
|
|
|
zone "transfer1" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
file "transfer.db.raw";
|
|
};
|
|
|
|
zone "transfer2" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format text;
|
|
file "transfer.db.txt";
|
|
};
|
|
|
|
zone "transfer3" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
file "formerly-text.db";
|
|
};
|
|
|
|
zone "transfer4" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format text;
|
|
masterfile-style full;
|
|
file "transfer.db.full";
|
|
};
|
|
|
|
zone "under-limit" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "under-limit.bk";
|
|
};
|
|
|
|
zone "under-limit-kasp" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "under-limit-kasp.bk";
|
|
};
|
|
|
|
zone "below-limit" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "below-limit.bk";
|
|
};
|
|
|
|
zone "below-limit-kasp" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "below-limit-kasp.bk";
|
|
};
|
|
|
|
zone "255types" {
|
|
type secondary;
|
|
primaries { 10.53.0.1; };
|
|
masterfile-format raw;
|
|
file "255types.bk";
|
|
};
|