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.2; 16 notify-source 10.53.0.2; 17 transfer-source 10.53.0.2; 18 port @PORT@; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.2; }; 21 listen-on-v6 { none; }; 22 recursion yes; 23 notify yes; 24 statistics-file "named.stats"; 25 dnstap-identity "ns2"; 26 dnstap-version "xxx"; 27 dnstap-output file "dnstap.out" size unlimited versions unlimited; 28 dnstap { all; }; 29 send-cookie no; 30 require-server-cookie no; 31 dnssec-validation yes; 32 qname-minimization disabled; 33}; 34 35key rndc_key { 36 secret "1234abcd8765"; 37 algorithm hmac-sha256; 38}; 39 40controls { 41 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 42}; 43 44zone "." { 45 type hint; 46 file "../../common/root.hint"; 47}; 48 49zone "example" { 50 type primary; 51 file "example.db"; 52 allow-update { any; }; 53}; 54