Files
bind9/bin/tests/system/statschannel/ns2/named.conf.in
2020-05-12 14:12:03 +02:00

70 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.2;
notify-source 10.53.0.2;
transfer-source 10.53.0.2;
port @PORT@;
pid-file "named.pid";
listen-on { 10.53.0.2; };
listen-on-v6 { none; };
recursion no;
notify no;
minimal-responses no;
version none; // make statistics independent of the version number
};
statistics-channels { inet 10.53.0.2 port @EXTRAPORT1@ allow { localhost; }; };
key rndc_key {
secret "1234abcd8765";
algorithm hmac-sha256;
};
controls {
inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};
dnssec-policy "manykeys" {
keys {
ksk lifetime unlimited algorithm 5;
zsk lifetime unlimited algorithm 5;
ksk lifetime unlimited algorithm 13;
zsk lifetime unlimited algorithm 13;
ksk lifetime unlimited algorithm 14;
zsk lifetime unlimited algorithm 14;
};
};
zone "example" {
type master;
file "example.db";
allow-transfer { any; };
};
zone "dnssec" {
type master;
file "dnssec.db.signed";
auto-dnssec maintain;
allow-update { any; };
zone-statistics full;
dnssec-dnskey-kskonly yes;
update-check-ksk yes;
};
zone "manykeys" {
type master;
file "manykeys.db.signed";
zone-statistics full;
dnssec-policy "manykeys";
};