Files
bind9/bin/tests/system/journal/ns1/named.conf.in
Evan Hunt bda028e0ee create 'journal' system test
tests that version 1 journal files containing version 1 transaction
headers are rolled forward correctly on server startup, then updated
into version 2 journals. also checks journal file consistency and
'max-journal-size' behavior.

(cherry picked from commit a0aefa1de6)
2021-03-03 19:21:16 -08:00

91 lines
1.6 KiB
Plaintext

/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
*
* 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 http://mozilla.org/MPL/2.0/.
*
* See the COPYRIGHT file distributed with this work for additional
* information regarding copyright ownership.
*/
options {
query-source address 10.53.0.1;
notify-source 10.53.0.1;
transfer-source 10.53.0.1;
port @PORT@;
session-keyfile "session.key";
pid-file "named.pid";
listen-on { 10.53.0.1; };
listen-on-v6 { none; };
dnssec-validation yes;
minimal-responses no;
recursion no;
notify yes;
};
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
};
controls {
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};
zone changed {
type primary;
update-policy local;
file "changed.db";
};
zone unchanged {
type primary;
update-policy local;
file "unchanged.db";
};
zone changed2 {
type primary;
update-policy local;
file "changed2.db";
};
zone unchanged2 {
type primary;
update-policy local;
file "unchanged2.db";
};
zone hdr1d1d2d1d2 {
type primary;
update-policy local;
file "d1212.db";
};
zone hdr1d2d1d2d1 {
type primary;
update-policy local;
file "d2121.db";
};
zone ixfr {
type primary;
ixfr-from-differences yes;
file "ixfr.db";
};
zone maxjournal {
type primary;
max-journal-size 1k;
update-policy local;
file "maxjournal.db";
};
zone maxjournal2 {
type primary;
max-journal-size 1k;
update-policy local;
file "maxjournal2.db";
};