The recursion depth limit is configured via the
"max-recursion-depth" option, and the query limit
- via the "max-recursion-queries" option. [RT #37580]
+ via the "max-recursion-queries" option. [RT #37580]
4005. [func] The buffer used for returning text from rndc
commands is now dynamically resizable, allowing
+Copyright (C) 2014 Internet Systems Consortium, Inc. ("ISC")
+See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
+
system test for recursion limits
ns1 -- root server
#!/usr/bin/env perl
+#
+# Copyright (C) 2014 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.
use strict;
use warnings;
pid-file "named.pid";
listen-on { 10.53.0.3; };
listen-on-v6 { none; };
- servfail-ttl 0;
- max-recursion-depth 12;
+ servfail-ttl 0;
+ max-recursion-depth 12;
};
key rndc_key {
pid-file "named.pid";
listen-on { 10.53.0.3; };
listen-on-v6 { none; };
- servfail-ttl 0;
- max-recursion-depth 5;
+ servfail-ttl 0;
+ max-recursion-depth 5;
};
key rndc_key {
pid-file "named.pid";
listen-on { 10.53.0.3; };
listen-on-v6 { none; };
- servfail-ttl 0;
- max-recursion-depth 100;
+ servfail-ttl 0;
+ max-recursion-depth 100;
};
key rndc_key {
pid-file "named.pid";
listen-on { 10.53.0.3; };
listen-on-v6 { none; };
- servfail-ttl 0;
- max-recursion-depth 100;
- max-recursion-queries 40;
+ servfail-ttl 0;
+ max-recursion-depth 100;
+ max-recursion-queries 40;
};
key rndc_key {