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 14include "../../_common/rndc.key"; 15 16controls { 17 inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; }; 18}; 19 20tls local { 21 key-file "../CA/certs/srv03.crt01.example.com.key"; 22 cert-file "../CA/certs/srv03.crt01.example.com.pem"; 23 dhparam-file "../dhparam3072.pem"; 24}; 25 26http local { 27 endpoints { "/dns-query"; }; 28}; 29 30options { 31 query-source address 10.53.0.3; 32 notify-source 10.53.0.3; 33 transfer-source 10.53.0.3; 34 port @PORT@; 35 tls-port @TLSPORT@; 36 https-port @HTTPSPORT@; 37 http-port @HTTPPORT@; 38 pid-file "named.pid"; 39 listen-on { 10.53.0.3; }; 40 listen-on tls local { 10.53.0.3; }; // DoT 41 listen-on-v6 { none; }; 42 recursion no; 43 notify no; 44 ixfr-from-differences yes; 45 check-integrity no; 46 dnssec-validation yes; 47 max-records-per-type 0; 48}; 49 50zone "." { 51 type hint; 52 file "../../_common/root.hint"; 53}; 54 55tls tls-v1.2-pfs { 56 protocols { TLSv1.2; }; 57 ciphers "HIGH:!kRSA:!aNULL:!eNULL:!RC4:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!SHA1:!SHA256:!SHA384"; 58 prefer-server-ciphers no; 59}; 60 61zone "example" { 62 type secondary; 63 primaries { 10.53.0.1 tls tls-v1.2-pfs; }; 64 file "example.db"; 65 allow-transfer { any; }; 66}; 67 68tls tls-pfs-aes-128 { 69 protocols { TLSv1.2; }; 70 // AES128 does not match the setting on the server: AES256 71 ciphers "AES128:!kRSA:!aNULL:!eNULL:!RC4:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!SHA1:!SHA256:!SHA384"; 72 prefer-server-ciphers no; 73}; 74 75zone "example2" { 76 type secondary; 77 primaries port @EXTRAPORT1@ { 10.53.0.1 tls tls-pfs-aes-128; }; 78 file "example2.db"; 79 allow-transfer { any; }; 80}; 81