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 {% if trust_anchors is defined %} 15 1.1 christos include "trusted.conf"; 16 1.1 christos {% set dnssec_validation = "yes" %} 17 1.1 christos {% else %} 18 1.1 christos {% set dnssec_validation = "auto" %} 19 1.1 christos {% endif %} 20 1.1 christos 21 1.1 christos 22 1.1 christos options { 23 1.1 christos query-source address 10.53.0.3; 24 1.1 christos notify-source 10.53.0.3; 25 1.1 christos transfer-source 10.53.0.3; 26 1.1 christos port @PORT@; 27 1.1 christos pid-file "named.pid"; 28 1.1 christos listen-on { 10.53.0.3; }; 29 1.1 christos listen-on-v6 { none; }; 30 1.1 christos allow-transfer { any; }; 31 1.1 christos recursion yes; 32 1.1 christos dnssec-validation @dnssec_validation@; 33 1.1 christos }; 34 1.1 christos 35 1.1 christos key rndc_key { 36 1.1 christos secret "1234abcd8765"; 37 1.1 christos algorithm @DEFAULT_HMAC@; 38 1.1 christos }; 39 1.1 christos 40 1.1 christos controls { 41 1.1 christos inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 42 1.1 christos }; 43 1.1 christos 44 1.1 christos zone "." { 45 1.1 christos type hint; 46 1.1 christos file "../../_common/root.hint"; 47 1.1 christos }; 48