1/* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12 13/* 14 * DNS64 / RPZ server. 15 */ 16 17options { 18 query-source address 10.53.0.9; 19 notify-source 10.53.0.9; 20 transfer-source 10.53.0.9; 21 port @PORT@; 22 pid-file "named.pid"; 23 statistics-file "named.stats"; 24 session-keyfile "session.key"; 25 listen-on { 10.53.0.9; }; 26 listen-on-v6 { none; }; 27 notify yes; 28 minimal-responses no; 29 recursion yes; 30 dnssec-validation yes; 31 dns64-server "example.localdomain."; 32 dns64 64:ff9b::/96 { }; 33 response-policy { 34 zone "rpz"; 35 } 36 qname-wait-recurse no ; 37 38 include "../dnsrps.conf"; 39 notify-delay 0; 40}; 41 42logging { category rpz { default_debug; }; }; 43 44key rndc_key { 45 secret "1234abcd8765"; 46 algorithm hmac-sha256; 47}; 48controls { 49 inet 10.53.0.9 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 50}; 51 52 53zone "." { type hint; file "hints"; }; 54 55zone "rpz." { 56 type primary; 57 file "rpz.db"; 58 notify no; 59}; 60