Home | History | Annotate | Line # | Download | only in ns3
      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 policy = policy | default("unsigning") %}
     15 
     16 include "policy/going-insecure.conf";
     17 include "named.common.conf";
     18 
     19 zone "step1.going-insecure.kasp" {
     20 	type primary;
     21 	file "step1.going-insecure.kasp.db";
     22 	dnssec-policy @policy@;
     23 };
     24 
     25 {% if policy == "insecure" %}
     26 zone "step2.going-insecure.kasp" {
     27 	type primary;
     28 	file "step2.going-insecure.kasp.db";
     29 	dnssec-policy insecure;
     30 };
     31 {% endif %}
     32 
     33 zone "step1.going-insecure-dynamic.kasp" {
     34 	type primary;
     35 	file "step1.going-insecure-dynamic.kasp.db";
     36 	dnssec-policy @policy@;
     37 	inline-signing no;
     38 	allow-update { any; };
     39 };
     40 
     41 {% if policy == "insecure" %}
     42 zone "step2.going-insecure-dynamic.kasp" {
     43 	type primary;
     44 	file "step2.going-insecure-dynamic.kasp.db";
     45 	dnssec-policy insecure;
     46 	inline-signing no;
     47 	allow-update { any; };
     48 };
     49 {% endif %}
     50