/* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") * * SPDX-License-Identifier: MPL-2.0 * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at https://mozilla.org/MPL/2.0/. * * See the COPYRIGHT file distributed with this work for additional * information regarding copyright ownership. */ {% include "_common/controls.conf.j2" %} tls local { key-file "../self-signed-key.pem"; cert-file "../self-signed-cert.pem"; }; options { {% include_indented "_common/options.conf.j2" %} tls-port @TLSPORT@; listen-on tls local { @ns.ip@; }; // DoT recursion no; notify no; ixfr-from-differences yes; check-integrity no; dnssec-validation no; }; {% include "_common/root.hint.conf" %} tls tls-v1.3 { protocols { TLSv1.3; }; cipher-suites "TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256"; prefer-server-ciphers no; }; zone "example" { type secondary; primaries { 10.53.0.1 tls tls-v1.3; }; file "example.db"; allow-transfer { any; }; }; tls tls-v1.3-aes-128 { protocols { TLSv1.3; }; cipher-suites "TLS_AES_128_GCM_SHA256"; prefer-server-ciphers no; }; zone "example-aes-128" { type secondary; primaries port @EXTRAPORT1@ { 10.53.0.1 tls tls-v1.3-aes-128; }; file "example-aes-128.db"; allow-transfer { any; }; }; zone "example-aes-256" { type secondary; primaries port @EXTRAPORT2@ { 10.53.0.1 tls tls-v1.3-aes-128; }; file "example-aes-256.db"; allow-transfer { any; }; }; zone "example-chacha-20" { type secondary; primaries port @EXTRAPORT3@ { 10.53.0.1 tls tls-v1.3-aes-128; }; file "example-chacha-20.db"; allow-transfer { any; }; };