Files
bind9/bin/tests/system/nsupdate/ns3/named.conf
Mark Andrews 51fe40fd59 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 10:46:37 +11:00

76 lines
1.7 KiB
Plaintext

/*
* Copyright (C) 2010, 2011, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named.conf,v 1.5 2011/02/03 12:18:11 tbox Exp $ */
// NS1
controls { /* empty */ };
options {
query-source address 10.53.0.3;
notify-source 10.53.0.3;
transfer-source 10.53.0.3;
port 5300;
pid-file "named.pid";
listen-on { 10.53.0.3; };
listen-on-v6 { none; };
recursion no;
notify yes;
dnssec-enable yes;
dnssec-validation yes;
};
/*
zone "." {
type master;
file "root.db.signed";
};
*/
// include "trusted.conf";
zone "example" {
type master;
allow-update { any; };
file "example.db";
};
zone "nsec3param.test" {
type master;
allow-update { any; };
file "nsec3param.test.db.signed";
};
zone "dnskey.test" {
type master;
allow-update { any; };
file "dnskey.test.db.signed";
};
zone "delegation.test" {
type master;
allow-update { any; };
file "delegation.test.db.signed";
};
zone "too-big.test" {
type master;
allow-update { any; };
max-records 3;
file "too-big.test.db";
};