Add a system test that counts how many address fetches are made for different numbers of NS records and checks that the number are successfully limited.
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* 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 http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
// NS5
|
|
|
|
options {
|
|
query-source address 10.53.0.5 dscp 7;
|
|
notify-source 10.53.0.5 dscp 8;
|
|
transfer-source 10.53.0.5 dscp 9;
|
|
port @PORT@;
|
|
pid-file "named.pid";
|
|
listen-on { 10.53.0.5; };
|
|
listen-on-v6 { none; };
|
|
recursion yes;
|
|
dnssec-validation yes;
|
|
querylog yes;
|
|
prefetch 4 10;
|
|
};
|
|
|
|
server 10.53.0.7 {
|
|
edns-version 0;
|
|
};
|
|
|
|
zone "." {
|
|
type hint;
|
|
file "root.hint";
|
|
};
|
|
|
|
zone "moves" {
|
|
type master;
|
|
file "moves.db";
|
|
};
|
|
|
|
zone "child.server" {
|
|
type master;
|
|
file "child.server.db";
|
|
};
|
|
|
|
zone "delegation-only" {
|
|
type delegation-only;
|
|
};
|
|
|
|
key rndc_key {
|
|
secret "1234abcd8765";
|
|
algorithm hmac-sha256;
|
|
};
|
|
|
|
controls {
|
|
inet 10.53.0.5 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
|
};
|