2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

Use trust anchors with 'dnssec-validation yes' in system tests

Explicitly use an empty 'trust-anchors' statement in the system
tests where it was used implicitly before.

In resolver/ns5/named.conf.in use the trust anchor in 'trusted.conf',
which was supposed to be used there.
This commit is contained in:
Aram Sargsyan 2023-12-14 13:14:44 +00:00
parent fdb7e4e3f5
commit d28fd93a58
107 changed files with 214 additions and 4 deletions

View File

@ -26,6 +26,8 @@ options {
minimal-responses no;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -25,6 +25,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -24,4 +24,6 @@ options {
notify yes;
};
trust-anchors { };
zone "." { type primary; file "root.db"; };

View File

@ -30,6 +30,8 @@ options {
};
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -25,6 +25,8 @@ options {
notify yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hints";

View File

@ -25,6 +25,8 @@ options {
notify yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hints";

View File

@ -26,6 +26,8 @@ options {
notify yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hints";

View File

@ -26,6 +26,8 @@ options {
notify yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hints";

View File

@ -69,6 +69,8 @@ options {
transfers-out 100;
};
trust-anchors { };
zone "." {
type primary;
file "root.db";

View File

@ -39,6 +39,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -39,6 +39,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -39,6 +39,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -39,6 +39,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -49,6 +49,8 @@ options {
nocookie-udp-size 512;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -41,6 +41,8 @@ options {
require-server-cookie yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -35,6 +35,8 @@ options {
require-server-cookie yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -36,6 +36,8 @@ options {
require-server-cookie yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -35,6 +35,8 @@ options {
require-server-cookie yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.hint";

View File

@ -33,6 +33,8 @@ options {
require-server-cookie yes;
};
trust-anchors { };
server 10.53.0.7 { require-cookie yes; };
zone "example" {

View File

@ -35,6 +35,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "database" {
type primary;
database "_builtin empty localhost. hostmaster.isc.org.";

View File

@ -35,6 +35,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "database" {
type primary;
database "_builtin empty localhost. marka.isc.org.";

View File

@ -42,6 +42,8 @@ options {
};
};
trust-anchors { };
zone "." {
type primary;
file "root.db";

View File

@ -45,6 +45,8 @@ options {
};
};
trust-anchors { };
zone "." {
type primary;
file "root.db";

View File

@ -34,6 +34,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type primary;
file "root.db";

View File

@ -60,6 +60,8 @@ options {
response-policy { zone "rpz"; };
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -40,6 +40,8 @@ options {
};
};
trust-anchors { };
zone "." {
type hint;
file "hints";

View File

@ -30,6 +30,8 @@ options {
recursion no;
};
trust-anchors { };
zone "." {
type master;
file "root.db";

View File

@ -32,6 +32,8 @@ options {
qname-minimization disabled;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -32,6 +32,8 @@ options {
qname-minimization disabled;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -33,6 +33,8 @@ options {
qname-minimization disabled;
};
trust-anchors { };
server 10.53.0.1 { tcp-only yes; };
key rndc_key {

View File

@ -32,6 +32,8 @@ options {
qname-minimization disabled;
};
trust-anchors { };
server 10.53.0.1 { tcp-only yes; };
key rndc_key {

View File

@ -100,6 +100,8 @@ options {
transfers-out 100;
};
trust-anchors { };
zone "." {
type primary;
file "root.db";

View File

@ -53,6 +53,8 @@ options {
transfers-out 100;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -46,6 +46,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -54,6 +54,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -42,6 +42,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -28,6 +28,8 @@ options {
fetches-per-server 400;
};
trust-anchors { };
server 10.53.0.4 {
edns no;
};

View File

@ -26,6 +26,8 @@ options {
fetches-per-zone 40;
};
trust-anchors { };
server 10.53.0.4 {
edns no;
};

View File

@ -26,6 +26,8 @@ options {
recursive-clients 400;
};
trust-anchors { };
server 10.53.0.4 {
edns no;
};

View File

@ -27,6 +27,8 @@ options {
max-clients-per-query 10;
};
trust-anchors { };
server 10.53.0.4 {
edns no;
};

View File

@ -30,6 +30,8 @@ options {
max-clients-per-query 10;
};
trust-anchors { };
server 10.53.0.4 {
edns no;
};

View File

@ -25,6 +25,8 @@ options {
minimal-responses no;
};
trust-anchors { };
acl filterees { 10.53.0.1; };
plugin query "../../../../plugins/.libs/filter-aaaa.so" {

View File

@ -25,6 +25,8 @@ options {
minimal-responses no;
};
trust-anchors { };
plugin query "../../../../plugins/.libs/filter-aaaa.so" {
filter-aaaa-on-v6 yes;
filter-aaaa { fd92:7065:b8e:ffff::1; };

View File

@ -27,6 +27,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -27,6 +27,8 @@ options {
minimal-responses yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.db";

View File

@ -25,6 +25,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.db";

View File

@ -24,6 +24,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.db";

View File

@ -24,6 +24,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "root.db";

View File

@ -24,6 +24,8 @@ options {
minimal-responses no;
};
trust-anchors { };
plugin query "../driver/.libs/test-async.so";
key rndc_key {

View File

@ -23,6 +23,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -26,6 +26,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -32,6 +32,8 @@ options {
allow-query { allowed; };
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -32,6 +32,8 @@ options {
allow-query { allowed; };
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -26,6 +26,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -26,6 +26,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -24,6 +24,8 @@ options {
notify yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -24,6 +24,8 @@ options {
notify yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -25,6 +25,8 @@ options {
notify yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -54,6 +54,8 @@ options {
tcp-initial-timeout 1200;
};
trust-anchors { };
zone "example0" {
type primary;
file "example.db";

View File

@ -49,6 +49,8 @@ options {
tcp-initial-timeout 1200;
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -27,6 +27,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -27,6 +27,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -28,6 +28,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -28,6 +28,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -28,6 +28,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type primary;
file "root.db";
@ -53,5 +55,3 @@ zone "." {
file "redirect.db";
allow-query { !10.53.0.2; !10.53.0.4; any; };
};
// include "trusted.conf";

View File

@ -31,6 +31,8 @@ options {
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -26,6 +26,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {
type primary;
file "root.db";
@ -50,5 +52,3 @@ zone "redirect" {
type primary;
file "redirect.db";
};
// include "trusted.conf";

View File

@ -31,6 +31,8 @@ options {
nxdomain-redirect "redirect";
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -31,6 +31,8 @@ options {
attach-cache "globalcache";
};
trust-anchors { };
server 10.53.0.3 {
tcp-only yes;
};

View File

@ -27,6 +27,8 @@ options {
prefetch 4 10;
};
include "trusted.conf";
server 10.53.0.7 {
edns-version 0;
};

View File

@ -34,6 +34,8 @@ options {
edns-udp-size 4096;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -34,6 +34,8 @@ options {
edns-udp-size 4096;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -24,6 +24,8 @@ options {
qname-minimization off;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -20,6 +20,8 @@ options {
dnssec-validation yes;
};
trust-anchors { };
view normal {
match-clients { any; };

View File

@ -64,6 +64,8 @@ options {
notify-delay 0;
};
trust-anchors { };
logging { category rpz { default_debug; }; };
key rndc_key {

View File

@ -46,6 +46,8 @@ options {
notify-delay 0;
};
trust-anchors { };
logging { category rpz { default_debug; }; };
key rndc_key {

View File

@ -40,6 +40,8 @@ options {
notify-delay 0;
};
trust-anchors { };
logging { category rpz { default_debug; }; };
key rndc_key {

View File

@ -30,6 +30,8 @@ options {
include "../dnsrps.conf";
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -36,6 +36,8 @@ options {
include "../dnsrps.conf";
};
trust-anchors { };
zone "policy" { type primary; file "policy.db"; };
zone "example.tld" { type primary; file "example.db"; };

View File

@ -35,6 +35,8 @@ options {
include "../dnsrps.conf";
};
trust-anchors { };
zone "policy" { type primary; file "policy.db"; };
zone "example.tld" { type primary; file "example.db"; };

View File

@ -33,6 +33,8 @@ options {
include "../dnsrps.conf";
};
trust-anchors { };
zone "policy" { type primary; file "policy.db"; };
zone "example.tld" { type primary; file "example.db"; };

View File

@ -25,4 +25,6 @@ options {
dnssec-validation yes;
};
trust-anchors { };
zone "." {type primary; file "root.db";};

View File

@ -36,6 +36,8 @@ options {
};
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -43,6 +43,8 @@ options {
};
trust-anchors { };
zone "." { type hint; file "hints"; };
zone "tld3."{ type primary; file "tld3.db"; };

View File

@ -38,6 +38,8 @@ options {
};
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -32,6 +32,8 @@ options {
};
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -28,6 +28,8 @@ options {
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -24,6 +24,8 @@ options {
notify yes;
};
trust-anchors { };
zone "." {
type hint;
file "../../_common/root.hint";

View File

@ -24,6 +24,8 @@ options {
notify yes;
};
trust-anchors { };
statistics-channels {
inet 10.53.0.2 port @EXTRAPORT1@ allow { any; };
};

View File

@ -27,6 +27,8 @@ options {
zone-statistics yes;
};
trust-anchors { };
statistics-channels {
inet 10.53.0.3 port @EXTRAPORT1@ allow { any; };
};

View File

@ -26,6 +26,8 @@ options {
notify yes;
};
trust-anchors { };
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;

View File

@ -26,6 +26,8 @@ options {
notify yes;
};
trust-anchors { };
zone "zone000000.example" {
type secondary;
file "zone000000.example.bk";

View File

@ -68,6 +68,8 @@ options {
tcp-initial-timeout 1200;
};
trust-anchors { };
zone "example0" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

View File

@ -40,6 +40,8 @@ options {
allow-proxy-on { 10.53.0.1; fd92:7065:b8e:ffff::1; };
};
trust-anchors { };
zone "example" {
type primary;
file "example.db";

Some files were not shown because too many files have changed in this diff Show More