mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 13:10:00 -04:00
Add a test case where the root zone has dnssec-policy configured, with checkds enabled. This is a silly case because the root does not have any parent NS records, but it should not crash the server. The same is true for zones that do not have parent NS records, but eventually they will hit the same code path.
46 lines
704 B
Bash
46 lines
704 B
Bash
#!/bin/sh -e
|
|
|
|
# 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.
|
|
|
|
# shellcheck source=conf.sh
|
|
. ../conf.sh
|
|
|
|
set -e
|
|
|
|
mkdir keys
|
|
mkdir ns3/keys
|
|
|
|
# Setup zones
|
|
(
|
|
cd ns1
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns2
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns3
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns4
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns5
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns6
|
|
$SHELL setup.sh
|
|
)
|