bind9/bin/tests/system/proxy/ns3/named.conf.in
Štěpán Balážik 01d1ad7988 Disable DNSSEC validation instead of enabling it with empty TAs in tests
There are many system tests where we set `dnssec-validation yes;` only
to also set `trust-anchors { };` which effectively disables the
validation.

This commit replaces this convoluted setup with just
`dnssec-validation no;`.
2025-07-06 14:18:10 +00:00

57 lines
1.9 KiB
Text

/*
* 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/rndc.key";
controls {
inet 10.53.0.3 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};
tls self-signed {
cert-file "../self-signed-cert.pem";
key-file "../self-signed-key.pem";
};
options {
pid-file "named.pid";
##
# generic test
listen-on port @PORT@ { 10.53.0.3; };
listen-on port @EXTRAPORT1@ proxy plain { 10.53.0.3; };
listen-on port @TLSPORT@ proxy encrypted tls self-signed { 10.53.0.3; };
listen-on port @EXTRAPORT2@ proxy plain tls self-signed { 10.53.0.3; };
listen-on port @HTTPSPORT@ proxy encrypted tls self-signed http default { 10.53.0.3; };
listen-on port @EXTRAPORT3@ proxy plain tls self-signed http default { 10.53.0.3; };
listen-on port @HTTPPORT@ proxy plain tls none http default { 10.53.0.3; };
listen-on-v6 port @EXTRAPORT1@ proxy plain { fd92:7065:b8e:ffff::3; };
listen-on-v6 port @TLSPORT@ proxy encrypted tls self-signed { fd92:7065:b8e:ffff::3; };
listen-on-v6 port @EXTRAPORT2@ proxy plain tls self-signed { fd92:7065:b8e:ffff::3; };
listen-on-v6 port @HTTPSPORT@ proxy encrypted tls self-signed http default { fd92:7065:b8e:ffff::3; };
listen-on-v6 port @EXTRAPORT3@ proxy plain tls self-signed http default { fd92:7065:b8e:ffff::3; };
listen-on-v6 port @HTTPPORT@ proxy plain tls none http default { fd92:7065:b8e:ffff::3; };
recursion no;
notify explicit;
statistics-file "named.stats";
dnssec-validation no;
tcp-initial-timeout 1200;
};
zone "example" {
type primary;
file "example.db";
allow-query { any; };
};