mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 14:17:27 -04:00
The previous test cases already test the more complex case where there are empty non-terminals between the child apex and the parent domain. Add a test case where this is not the case, to execute the other code path.
49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
; Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
;
|
|
; SPDX-License-Identifier: MPL-2.0
|
|
;
|
|
; This Source Code Form is subject to the terms of the Mozilla Public
|
|
; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
; file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
;
|
|
; See the COPYRIGHT file distributed with this work for additional
|
|
; information regarding copyright ownership.
|
|
|
|
$TTL 300
|
|
@ IN SOA secondary.example. hostmaster.example. (
|
|
1 ; serial
|
|
20 ; refresh (20 seconds)
|
|
20 ; retry (20 seconds)
|
|
1814400 ; expire (3 weeks)
|
|
3600 ; minimum (1 hour)
|
|
)
|
|
|
|
NS ns2
|
|
ns2 A 10.53.0.2
|
|
|
|
no-ent NS ns9.no-ent
|
|
ns9.no-ent A 10.53.0.9
|
|
|
|
$ORIGIN explicit.dspublish.ns2.
|
|
good NS ns9.good
|
|
reference NS ns9.reference
|
|
resolver NS ns9.resolver
|
|
ns9.good A 10.53.0.9
|
|
ns9.reference A 10.53.0.9
|
|
ns9.resolver A 10.53.0.9
|
|
|
|
$ORIGIN yes.dspublish.ns2.
|
|
good NS ns9.good
|
|
ns9.good A 10.53.0.9
|
|
|
|
$ORIGIN no.dspublish.ns2.
|
|
good NS ns9.good
|
|
ns9.good A 10.53.0.9
|
|
|
|
$ORIGIN explicit.dsremoved.ns2.
|
|
still-there NS ns9.still-there
|
|
ns9.still-there A 10.53.0.9
|
|
|
|
$ORIGIN yes.dsremoved.ns2.
|
|
still-there NS ns9.still-there
|
|
ns9.still-there A 10.53.0.9
|