Debian Codegraph @

bin/tests/system/rollover_algo_csk/ns3/named.conf.j2

raw
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 {% set csk_roll = csk_roll | default(False) %}
15 {% set _csk_file = "csk1.conf" if not csk_roll else "csk2.conf" %}
16 {% set zones = ["kasp", "manual"] %}
17
18 include "@_csk_file@";
19 include "named.common.conf";
20
21 {% for tld in zones %}
22 zone "step1.csk-algorithm-roll.@tld@" {
23 type primary;
24 file "step1.csk-algorithm-roll.@[email protected]";
25 dnssec-policy "csk-algoroll-@tld@";
26 };
27
28 {% if csk_roll %}
29 zone "step2.csk-algorithm-roll.@tld@" {
30 type primary;
31 file "step2.csk-algorithm-roll.@[email protected]";
32 dnssec-policy "csk-algoroll-@tld@";
33 };
34
35 zone "step3.csk-algorithm-roll.@tld@" {
36 type primary;
37 file "step3.csk-algorithm-roll.@[email protected]";
38 dnssec-policy "csk-algoroll-@tld@";
39 };
40
41 zone "step4.csk-algorithm-roll.@tld@" {
42 type primary;
43 file "step4.csk-algorithm-roll.@[email protected]";
44 dnssec-policy "csk-algoroll-@tld@";
45 };
46
47 zone "step5.csk-algorithm-roll.@tld@" {
48 type primary;
49 file "step5.csk-algorithm-roll.@[email protected]";
50 dnssec-policy "csk-algoroll-@tld@";
51 };
52
53 zone "step6.csk-algorithm-roll.@tld@" {
54 type primary;
55 file "step6.csk-algorithm-roll.@[email protected]";
56 dnssec-policy "csk-algoroll-@tld@";
57 };
58 {% endif %}
59 {% endfor %}