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