| 1 |
/* |
| 2 |
* Copyright (C) Internet Systems Consortium, Inc. ("ISC") |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: MPL-2.0 |
| 5 |
* |
| 6 |
* This Source Code Form is subject to the terms of the Mozilla Public |
| 7 |
* License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 |
* file, you can obtain one at https://mozilla.org/MPL/2.0/. |
| 9 |
* |
| 10 |
* See the COPYRIGHT file distributed with this work for additional |
| 11 |
* information regarding copyright ownership. |
| 12 |
*/ |
| 13 |
|
| 14 |
dnssec-policy "autosign" { |
| 15 |
|
| 16 |
signatures-refresh P1W; |
| 17 |
signatures-validity P2W; |
| 18 |
signatures-validity-dnskey P2W; |
| 19 |
|
| 20 |
dnskey-ttl 300; |
| 21 |
|
| 22 |
keys { |
| 23 |
ksk key-directory lifetime P2Y algorithm @DEFAULT_ALGORITHM@; |
| 24 |
zsk key-directory lifetime P1Y algorithm @DEFAULT_ALGORITHM@; |
| 25 |
}; |
| 26 |
}; |
| 27 |
|
| 28 |
dnssec-policy "enable-dnssec" { |
| 29 |
|
| 30 |
signatures-refresh P1W; |
| 31 |
signatures-validity P2W; |
| 32 |
signatures-validity-dnskey P2W; |
| 33 |
|
| 34 |
dnskey-ttl 300; |
| 35 |
max-zone-ttl PT12H; |
| 36 |
zone-propagation-delay PT5M; |
| 37 |
retire-safety PT20M; |
| 38 |
publish-safety PT5M; |
| 39 |
|
| 40 |
parent-propagation-delay 1h; |
| 41 |
parent-ds-ttl 2h; |
| 42 |
|
| 43 |
keys { |
| 44 |
csk lifetime unlimited algorithm @DEFAULT_ALGORITHM_NUMBER@; |
| 45 |
}; |
| 46 |
}; |
| 47 |
|
| 48 |
dnssec-policy "zsk-prepub" { |
| 49 |
|
| 50 |
signatures-refresh P1W; |
| 51 |
signatures-validity P2W; |
| 52 |
signatures-validity-dnskey P2W; |
| 53 |
|
| 54 |
dnskey-ttl 3600; |
| 55 |
publish-safety P1D; |
| 56 |
retire-safety P2D; |
| 57 |
purge-keys PT1H; |
| 58 |
|
| 59 |
keys { |
| 60 |
ksk key-directory lifetime P2Y algorithm @DEFAULT_ALGORITHM@; |
| 61 |
zsk key-directory lifetime P30D algorithm @DEFAULT_ALGORITHM@; |
| 62 |
}; |
| 63 |
|
| 64 |
zone-propagation-delay PT1H; |
| 65 |
max-zone-ttl 1d; |
| 66 |
}; |
| 67 |
|
| 68 |
dnssec-policy "ksk-doubleksk" { |
| 69 |
|
| 70 |
signatures-refresh P1W; |
| 71 |
signatures-validity P2W; |
| 72 |
signatures-validity-dnskey P2W; |
| 73 |
|
| 74 |
dnskey-ttl 2h; |
| 75 |
publish-safety P1D; |
| 76 |
retire-safety P2D; |
| 77 |
purge-keys PT1H; |
| 78 |
|
| 79 |
cdnskey no; |
| 80 |
keys { |
| 81 |
ksk key-directory lifetime P60D algorithm @DEFAULT_ALGORITHM@; |
| 82 |
zsk key-directory lifetime P1Y algorithm @DEFAULT_ALGORITHM@; |
| 83 |
}; |
| 84 |
|
| 85 |
zone-propagation-delay PT1H; |
| 86 |
max-zone-ttl 1d; |
| 87 |
|
| 88 |
parent-ds-ttl 3600; |
| 89 |
parent-propagation-delay PT1H; |
| 90 |
}; |
| 91 |
|
| 92 |
dnssec-policy "csk-roll" { |
| 93 |
|
| 94 |
signatures-refresh P5D; |
| 95 |
signatures-validity 30d; |
| 96 |
signatures-validity-dnskey 30d; |
| 97 |
|
| 98 |
dnskey-ttl 1h; |
| 99 |
publish-safety PT1H; |
| 100 |
retire-safety 2h; |
| 101 |
purge-keys PT1H; |
| 102 |
|
| 103 |
cds-digest-types { "sha-384"; }; // use a different digest type for testing purposes |
| 104 |
keys { |
| 105 |
csk key-directory lifetime P6M algorithm @DEFAULT_ALGORITHM@; |
| 106 |
}; |
| 107 |
|
| 108 |
zone-propagation-delay 1h; |
| 109 |
max-zone-ttl P1D; |
| 110 |
|
| 111 |
parent-ds-ttl 1h; |
| 112 |
parent-propagation-delay 1h; |
| 113 |
}; |
| 114 |
|
| 115 |
dnssec-policy "csk-roll2" { |
| 116 |
|
| 117 |
signatures-refresh 12h; |
| 118 |
signatures-validity P1D; |
| 119 |
signatures-validity-dnskey P1D; |
| 120 |
|
| 121 |
dnskey-ttl 1h; |
| 122 |
publish-safety PT1H; |
| 123 |
retire-safety 1h; |
| 124 |
purge-keys 0; |
| 125 |
|
| 126 |
cds-digest-types { "sha-256"; "sha-384"; }; // use two digest type for testing purposes |
| 127 |
keys { |
| 128 |
csk key-directory lifetime P6M algorithm @DEFAULT_ALGORITHM@; |
| 129 |
}; |
| 130 |
|
| 131 |
zone-propagation-delay PT1H; |
| 132 |
max-zone-ttl 1d; |
| 133 |
|
| 134 |
parent-ds-ttl PT1H; |
| 135 |
parent-propagation-delay P1W; |
| 136 |
}; |