Home | History | Annotate | Line # | Download | only in ns3
      1  1.1  christos /*
      2  1.1  christos  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3  1.1  christos  *
      4  1.1  christos  * SPDX-License-Identifier: MPL-2.0
      5  1.1  christos  *
      6  1.1  christos  * This Source Code Form is subject to the terms of the Mozilla Public
      7  1.1  christos  * License, v. 2.0.  If a copy of the MPL was not distributed with this
      8  1.1  christos  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
      9  1.1  christos  *
     10  1.1  christos  * See the COPYRIGHT file distributed with this work for additional
     11  1.1  christos  * information regarding copyright ownership.
     12  1.1  christos  */
     13  1.1  christos 
     14  1.1  christos {% set policy = policy | default("unsigning") %}
     15  1.1  christos 
     16  1.1  christos include "policy/going-insecure.conf";
     17  1.1  christos include "named.common.conf";
     18  1.1  christos 
     19  1.1  christos zone "step1.going-insecure.kasp" {
     20  1.1  christos 	type primary;
     21  1.1  christos 	file "step1.going-insecure.kasp.db";
     22  1.1  christos 	dnssec-policy @policy@;
     23  1.1  christos };
     24  1.1  christos 
     25  1.1  christos {% if policy == "insecure" %}
     26  1.1  christos zone "step2.going-insecure.kasp" {
     27  1.1  christos 	type primary;
     28  1.1  christos 	file "step2.going-insecure.kasp.db";
     29  1.1  christos 	dnssec-policy insecure;
     30  1.1  christos };
     31  1.1  christos {% endif %}
     32  1.1  christos 
     33  1.1  christos zone "step1.going-insecure-dynamic.kasp" {
     34  1.1  christos 	type primary;
     35  1.1  christos 	file "step1.going-insecure-dynamic.kasp.db";
     36  1.1  christos 	dnssec-policy @policy@;
     37  1.1  christos 	inline-signing no;
     38  1.1  christos 	allow-update { any; };
     39  1.1  christos };
     40  1.1  christos 
     41  1.1  christos {% if policy == "insecure" %}
     42  1.1  christos zone "step2.going-insecure-dynamic.kasp" {
     43  1.1  christos 	type primary;
     44  1.1  christos 	file "step2.going-insecure-dynamic.kasp.db";
     45  1.1  christos 	dnssec-policy insecure;
     46  1.1  christos 	inline-signing no;
     47  1.1  christos 	allow-update { any; };
     48  1.1  christos };
     49  1.1  christos {% endif %}
     50