3422. [bug] Added a clear error message for when the SOA does not

match the referral. [RT #31281]
This commit is contained in:
ckb
2012-11-21 16:44:34 -06:00
parent 20b95f5ff6
commit 2786b6c53f
8 changed files with 115 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
; Copyright (C) 2012 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: tld1.db,v 1.3 2012/02/09 23:47:18 tbox Exp $
$TTL 300
@ IN SOA marka.isc.org. ns.server. (
2010 ; serial
600 ; refresh
600 ; retry
1200 ; expire
600 ; minimum
)
@ NS ns.tld.
ns A 10.53.0.4
$TTL 5
sub.broken. NS ns.sub.broken.
ns.sub.broken. A 10.53.0.6

View File

@@ -52,6 +52,11 @@ zone "tld" {
file "tld.db";
};
zone "broken" {
type master;
file "broken.db";
};
key rndc_key {
secret "1234abcd8765";
algorithm hmac-md5;