mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Test that the unknown rr type code doesn't load compressed rdata.
This commit is contained in:
29
bin/tests/system/unknown/ns1/broken4.db
Normal file
29
bin/tests/system/unknown/ns1/broken4.db
Normal file
@@ -0,0 +1,29 @@
|
||||
; Copyright (C) 2000 Internet Software Consortium.
|
||||
;
|
||||
; Permission to use, copy, modify, and 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 INTERNET SOFTWARE CONSORTIUM
|
||||
; DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
; INTERNET SOFTWARE CONSORTIUM 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: broken4.db,v 1.1 2000/11/14 23:52:06 bwelling Exp $
|
||||
|
||||
$TTL 300 ; 5 minutes
|
||||
@ SOA mname1. . (
|
||||
2000062101 ; serial
|
||||
20 ; refresh (20 seconds)
|
||||
20 ; retry (20 seconds)
|
||||
1814400 ; expire (3 weeks)
|
||||
3600 ; minimum (1 hour)
|
||||
)
|
||||
NS ns
|
||||
ns A 10.53.0.1
|
||||
|
||||
mx SOA \# 32 026E73013300 04726F6F74C4 00000001 00000001 00000001 00000001 00000001
|
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: named.conf,v 1.1 2000/11/10 03:05:54 bwelling Exp $ */
|
||||
/* $Id: named.conf,v 1.2 2000/11/14 23:52:06 bwelling Exp $ */
|
||||
|
||||
options {
|
||||
query-source address 10.53.0.1;
|
||||
@@ -47,6 +47,11 @@ view "in" {
|
||||
type master;
|
||||
file "broken3.db";
|
||||
};
|
||||
|
||||
zone "broken4." {
|
||||
type master;
|
||||
file "broken4.db";
|
||||
};
|
||||
};
|
||||
|
||||
view "class10" class10 {
|
||||
|
@@ -496,6 +496,7 @@
|
||||
./bin/tests/system/unknown/ns1/broken1.db ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/broken2.db ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/broken3.db ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/broken4.db ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/class10.hints ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/example-class10.db ZONE 2000
|
||||
./bin/tests/system/unknown/ns1/example-in.db ZONE 2000
|
||||
|
Reference in New Issue
Block a user