bind9/bin/tests/system/resolver/ns6/named.conf.in
Mark Andrews 61415432ec Check responselog behaviour
Extends the resolver system test to to check whether responses are
logged to the query log in addition to the queries.
2024-09-19 21:44:06 +00:00

93 lines
1.6 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.
*/
// NS6
options {
query-source address 10.53.0.6;
notify-source 10.53.0.6;
transfer-source 10.53.0.6;
port @PORT@;
pid-file "named.pid";
listen-on { 10.53.0.6; };
listen-on-v6 { fd92:7065:b8e:ffff::6; };
recursion no;
dnssec-validation no;
querylog yes;
statistics-file "named.stats";
max-udp-size 4096;
responselog no;
};
zone "." {
type primary;
file "root.db";
};
zone "example.net" {
type primary;
file "example.net.db.signed";
allow-update { any; };
};
zone "ds.example.net" {
type primary;
file "ds.example.net.db.signed";
allow-update { any; };
};
zone "to-be-removed.tld" {
type primary;
file "to-be-removed.tld.db";
allow-update { any; };
};
zone "broken" {
type primary;
file "broken.db";
allow-update { any; };
};
zone "redirect.com" {
type primary;
file "redirect.com.db";
};
zone "tld1" {
type primary;
file "tld1.db";
};
zone "no-edns-version.tld" {
type primary;
file "no-edns-version.tld.db";
};
zone "fetch.tld" {
type primary;
file "fetch.tld.db";
};
zone "targetns" {
type primary;
file "targetns.db";
};
key rndc_key {
secret "1234abcd8765";
algorithm @DEFAULT_HMAC@;
};
controls {
inet 10.53.0.6 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
};