named2.conf.in revision 1.1.1.1
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.9; 16 notify-source 10.53.0.9; 17 transfer-source 10.53.0.9; 18 port @PORT@; 19 pid-file "named.pid"; 20 listen-on { 10.53.0.9; }; 21 listen-on-v6 { none; }; 22 dnssec-validation no; 23 edns-udp-size 1232; 24}; 25 26key rndc_key { 27 secret "1234abcd8765"; 28 algorithm hmac-sha256; 29}; 30 31controls { 32 inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 33}; 34 35server 10.53.0.10 { 36 edns no; 37}; 38 39server 10.53.0.11 { 40 edns no; 41}; 42 43zone "." { 44 type hint; 45 file "root.db"; 46}; 47 48zone "attacksecuredomain.net." { 49 type forward; 50 forward only; 51 forwarders { 10.53.0.10; }; 52}; 53 54zone "attacksecuredomain.net2." { 55 type forward; 56 forward only; 57 forwarders { 10.53.0.10; }; 58}; 59 60zone "attacksecuredomain.net3." { 61 type forward; 62 forward only; 63 forwarders { 10.53.0.11; }; 64}; 65 66zone "local.net." { 67 type primary; 68 file "local.net.db"; 69 forwarders {}; 70}; 71