Files
bind9/bin/tests/system/xfer/ns6/named.conf
Mark Andrews 744c1db635 4504. [security] Allow the maximum number of records in a zone to
be specified.  This provides a control for issues
                        raised in CVE-2016-6170. [RT #42143]

(cherry picked from commit 5f8412a4cb)
2016-11-03 09:48:26 +11:00

67 lines
1.2 KiB
Plaintext

/*
* Copyright (C) 2011, 2014, 2016 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/.
*/
/* $Id: named.conf,v 1.3 2011/03/12 04:59:47 tbox Exp $ */
include "../../common/rndc.key";
controls {
inet 10.53.0.6 port 9953 allow { any; } keys { rndc_key; };
};
options {
query-source address 10.53.0.6;
notify-source 10.53.0.6;
transfer-source 10.53.0.6;
port 5300;
pid-file "named.pid";
listen-on { 10.53.0.6; };
listen-on-v6 { none; };
recursion no;
notify yes;
ixfr-from-differences master;
check-integrity no;
};
zone "." {
type hint;
file "../../common/root.hint";
};
zone "master" {
type master;
file "master.db";
};
zone "slave" {
type slave;
notify no;
masters { 10.53.0.1; };
file "slave.bk";
};
zone "edns-expire" {
type slave;
masters { 10.53.0.1; };
file "edns-expire.bk";
};
zone "axfr-too-big" {
type slave;
max-records 30;
masters { 10.53.0.1; };
file "axfr-too-big.bk";
};
zone "ixfr-too-big" {
type slave;
max-records 30;
masters { 10.53.0.1; };
file "ixfr-too-big.bk";
};