mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
Add nameserver limit checks.
This commit is contained in:
15010
bin/tests/system/limits/ns1/example.db
Normal file
15010
bin/tests/system/limits/ns1/example.db
Normal file
File diff suppressed because it is too large
Load Diff
20
bin/tests/system/limits/ns1/named.conf
Normal file
20
bin/tests/system/limits/ns1/named.conf
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
options {
|
||||||
|
query-source address 10.53.0.1;
|
||||||
|
port 5300;
|
||||||
|
directory ".";
|
||||||
|
pid-file "named.pid";
|
||||||
|
listen-on { 10.53.0.1; };
|
||||||
|
listen-on-v6 {none;};
|
||||||
|
recursion no;
|
||||||
|
notify yes;
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "." {
|
||||||
|
type master;
|
||||||
|
file "root.db";
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "example" {
|
||||||
|
type master;
|
||||||
|
file "example.db";
|
||||||
|
};
|
13
bin/tests/system/limits/ns1/root.db
Normal file
13
bin/tests/system/limits/ns1/root.db
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
$TTL 300
|
||||||
|
. IN SOA gson.nominum.com. a.root.servers.nil. (
|
||||||
|
2000042100 ; serial
|
||||||
|
600 ; refresh
|
||||||
|
600 ; retry
|
||||||
|
1200 ; expire
|
||||||
|
600 ; minimum
|
||||||
|
)
|
||||||
|
. NS a.root-servers.nil.
|
||||||
|
a.root-servers.nil. A 10.53.0.1
|
||||||
|
|
||||||
|
example. NS ns1.example.
|
||||||
|
ns1.example. A 10.53.0.1
|
Reference in New Issue
Block a user