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 session-keyfile "session.key"; 20 pid-file "named.pid"; 21 statistics-file "named.stats"; 22 listen-on { 10.53.0.2; }; 23 listen-on-v6 { none; }; 24 notify no; 25 recursion yes; 26 dnssec-validation yes; 27 28 rate-limit { 29 responses-per-second 2; 30 all-per-second 50; 31 slip 3; 32 exempt-clients { 10.53.0.7; }; 33 34 // small enough to force a table expansion 35 min-table-size 75; 36 }; 37}; 38 39key rndc_key { 40 secret "1234abcd8765"; 41 algorithm hmac-sha256; 42}; 43controls { 44 inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 45}; 46 47/* 48 * These log settings have no effect unless "-g" is removed from ../../start.pl 49 */ 50logging { 51 channel debug { 52 file "log-debug"; 53 print-category yes; print-severity yes; severity debug 10; 54 }; 55 channel queries { 56 file "log-queries"; 57 print-category yes; print-severity yes; severity info; 58 }; 59 category rate-limit { debug; queries; }; 60 category queries { debug; queries; }; 61}; 62 63zone "." { type hint; file "hints"; }; 64 65zone "tld2."{ type primary; file "tld2.db"; }; 66