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 14options { 15 query-source address 10.53.0.3; 16 query-source-v6 address fd92:7065:b8e:ffff::3; 17 notify-source 10.53.0.3; 18 notify-source-v6 fd92:7065:b8e:ffff::3; 19 transfer-source 10.53.0.3; 20 transfer-source-v6 fd92:7065:b8e:ffff::3; 21 port @PORT@; 22 pid-file "named.pid"; 23 listen-on { 10.53.0.3; }; 24 listen-on-v6 { fd92:7065:b8e:ffff::3; }; 25 forwarders { fd92:7065:b8e:ffff::2; }; 26 forward first; 27 dnssec-validation yes; 28}; 29 30key rndc_key { 31 secret "1234abcd8765"; 32 algorithm hmac-sha256; 33}; 34 35controls { 36 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 37}; 38 39zone "." { 40 type hint; 41 file "root.db"; 42}; 43 44zone "example1." { 45 type forward; 46 forward first; 47 forwarders { 10.53.0.2; }; 48}; 49 50zone "example2." { 51 type forward; 52 forward first; 53 forwarders { }; 54}; 55 56zone "example3." { 57 type forward; 58 forward only; 59 forwarders { }; 60}; 61 62zone "example7." { 63 type forward; 64 forward first; 65 forwarders { 10.53.0.6; }; 66}; 67