mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
new
This commit is contained in:
parent
47cdb263ab
commit
abea1710a7
22
bin/tests/system/rpz/ns3/crash1
Normal file
22
bin/tests/system/rpz/ns3/crash1
Normal file
@ -0,0 +1,22 @@
|
||||
; Copyright (C) 2011 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: crash1,v 1.2 2011/10/13 04:53:06 marka Exp $
|
||||
|
||||
; a bad zone that caused a crash related to dns_rdataset_disassociate()
|
||||
|
||||
$TTL 120
|
||||
@ SOA crash1.tld2. hostmaster.ns.tld2. ( 1 3600 1200 604800 60 )
|
||||
|
||||
NS tld2.
|
18
bin/tests/system/rpz/ns4/hints
Normal file
18
bin/tests/system/rpz/ns4/hints
Normal file
@ -0,0 +1,18 @@
|
||||
; Copyright (C) 2011 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: hints,v 1.2 2011/10/13 04:53:06 marka Exp $
|
||||
|
||||
. 0 NS ns1.
|
||||
ns1. 0 A 10.53.0.1
|
39
bin/tests/system/rpz/ns4/named.conf
Normal file
39
bin/tests/system/rpz/ns4/named.conf
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (C) 2011 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.2 2011/10/13 04:53:06 marka Exp $ */
|
||||
|
||||
controls { /* empty */ };
|
||||
|
||||
options {
|
||||
query-source address 10.53.0.4;
|
||||
notify-source 10.53.0.4;
|
||||
transfer-source 10.53.0.4;
|
||||
port 5300;
|
||||
pid-file "named.pid";
|
||||
session-keyfile "session.key";
|
||||
listen-on { 10.53.0.4; };
|
||||
listen-on-v6 { none; };
|
||||
notify no;
|
||||
};
|
||||
|
||||
zone "." { type hint; file "hints"; };
|
||||
|
||||
zone "tld4." {type master; file "tld4.db";};
|
||||
zone "sub1.tld4." {type master; file "tld4.db";};
|
||||
zone "subsub.sub1.tld4." {type master; file "tld4.db";};
|
||||
zone "sub2.tld4." {type master; file "tld4.db";};
|
||||
zone "subsub.sub2.tld4." {type master; file "tld4.db";};
|
73
bin/tests/system/rpz/ns4/tld4.db
Normal file
73
bin/tests/system/rpz/ns4/tld4.db
Normal file
@ -0,0 +1,73 @@
|
||||
; Copyright (C) 2011 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: tld4.db,v 1.2 2011/10/13 04:53:07 marka Exp $
|
||||
|
||||
; RPZ rewrite responses from this zone
|
||||
|
||||
$TTL 120
|
||||
@ SOA tld4. hostmaster.ns.tld4. ( 1 3600 1200 604800 60 )
|
||||
NS ns
|
||||
NS ns2
|
||||
ns A 10.53.0.4
|
||||
ns2 A 10.53.0.4
|
||||
|
||||
|
||||
txt-only TXT "txt-only-tld4"
|
||||
|
||||
a14 A 14.14.14.14
|
||||
AAAA 2001::14
|
||||
TXT "a14 text"
|
||||
a14-cname CNAME a14
|
||||
|
||||
a0-1 A 192.168.0.1
|
||||
AAAA 2001:2::1
|
||||
TXT "a0-1 text"
|
||||
|
||||
a3-1 A 192.168.3.1
|
||||
AAAA 2001:2:3::1
|
||||
TXT "a3-1 text"
|
||||
|
||||
a3-2 A 192.168.3.2
|
||||
AAAA 2001:2:3::2
|
||||
TXT "a3-2 text"
|
||||
|
||||
a4-1 A 192.168.4.1
|
||||
AAAA 2001:2:4::1
|
||||
TXT "a4-1 text"
|
||||
a4-1-aaaa AAAA 2001:2:4::1
|
||||
|
||||
a4-2 A 192.168.4.2
|
||||
AAAA 2001:2:4::2
|
||||
TXT "a4-2 text"
|
||||
a4-2-cname CNAME a4-2
|
||||
|
||||
a4-3 A 192.168.4.3
|
||||
AAAA 2001:2:4::3
|
||||
TXT "a4-3 text"
|
||||
a4-3-cname CNAME a4-3
|
||||
|
||||
a4-4 A 192.168.4.4
|
||||
AAAA 2001:2:4::4
|
||||
TXT "a4-4 text"
|
||||
|
||||
a3-6.tld2 A 56.56.56.56
|
||||
|
||||
a3-7.sub1.tld2 A 57.57.57.57
|
||||
|
||||
a3-8.tld2 A 58.58.58.58
|
||||
|
||||
a3-9.sub9.tld2 A 59.59.59.59
|
||||
|
||||
a3-10.tld2 A 60.60.60.60
|
Loading…
x
Reference in New Issue
Block a user