mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 13:10:00 -04:00
Adds a static system test that fails to load an NSEC3 record with an invalid next part length. Additionally, introduces a dynamic test using a crafted authoritative DNS proxy to inject invalid NSEC3 records on the fly to test runtime behavior.
32 lines
572 B
Bash
32 lines
572 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
|
|
|
|
(
|
|
cd ns2
|
|
$SHELL setup.sh
|
|
)
|
|
|
|
(
|
|
cd ns3
|
|
$SHELL setup.sh
|
|
)
|
|
|
|
(
|
|
cd ns6
|
|
$SHELL setup.sh
|
|
)
|