4387. [bug] Change 4336 was not complete leading to SERVFAIL

being return as NS records expired. [RT #42683]
This commit is contained in:
Mark Andrews
2016-06-22 15:26:38 +10:00
parent 96beefd76f
commit b56bd9b59f
8 changed files with 116 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2013, 2016 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
@@ -35,3 +35,7 @@ zone "example" {
file "example.db";
};
zone "tld" {
type master;
file "tld.db";
};

View File

@@ -0,0 +1,23 @@
; Copyright (C) 2016 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.
$TTL 1
@ 300 SOA ns2.tld. hostmaster.ns2.tld. 0 1 1 1 1
@ 300 NS ns2.tld.
ns2 300 A 10.53.0.2
;
; The TTL of these delegation records needs to 1.
;
one 1 NS ns4.one.tld.
ns4.one 1 A 10.53.0.4