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 use_ssu = use_ssu | default(False) %} 15 16 options { 17 {% include_indented "_common/options.conf.j2" %} 18 recursion no; 19 dnssec-validation no; 20 }; 21 22 {% include "_common/controls.conf.j2" %} 23 24 zone "example" { 25 type primary; 26 file "example.db"; 27 {% if use_ssu %} 28 update-policy { grant * self * A; }; 29 {% else %} 30 allow-update { any; }; 31 {% endif %} 32 }; 33