summaryrefslogtreecommitdiffstats
path: root/bin/tests/system/checkconf/good-kasp.conf
blob: 1a12d9f293ba60c1bfb5635c8562cb66f557c8c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
 * 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.
 */

/*
 * This is just a random selection of DNSSEC configuration options.
 */

/* cut here */
dnssec-policy "test" {
	dnskey-ttl 3600;
	keys {
		ksk key-directory lifetime P1Y algorithm ecdsa256;
		zsk lifetime P30D algorithm 13;
		csk key-directory lifetime unlimited algorithm rsasha256 2048;
	};
	max-zone-ttl 86400;
	nsec3param iterations 5 optout no salt-length 8;
	parent-ds-ttl 7200;
	parent-propagation-delay PT1H;
	publish-safety PT3600S;
	retire-safety PT3600S;
	signatures-refresh P3D;
	signatures-validity P2W;
	signatures-validity-dnskey P14D;
	zone-propagation-delay PT5M;
};
options {
	dnssec-policy "default";
};
zone "example1" {
	type master;
	file "example1.db";
	inline-signing yes;
};
zone "example2" {
	type master;
	file "example2.db";
	allow-update {
		"any";
	};
	dnssec-policy "test";
};
zone "example3" {
	type master;
	file "example3.db";
	inline-signing yes;
	dnssec-policy "default";
};
zone "dnssec-policy-none-shared-zonefile1" {
	type master;
	file "shared.db";
	dnssec-policy "none";
};
zone "dnssec-policy-none-shared-zonefile2" {
	type master;
	file "shared.db";
	dnssec-policy "none";
};