mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 16:30:00 -04:00
When starting up the services, send notifies for the existing CDS RRset. This requires setting up a chain of trust for the test, so the DSYNC records can be retrieved and validated. This feature requires enabling 'notify-cds' and 'dnssec-validation'. In this test, the scanner is pointed to ns2. Since there is no code for receiving NOTIFY(CDS) messages for delegations, this is treated as "not authoritative". Checking for this log message ensures us that the NOTIFY(CDS) message was actually sent.
41 lines
661 B
Bash
41 lines
661 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
|
|
|
|
# multi-signers
|
|
(
|
|
cd ns3
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns4
|
|
$SHELL setup.sh
|
|
)
|
|
(
|
|
cd ns5
|
|
$SHELL setup.sh
|
|
)
|
|
# tld
|
|
(
|
|
cd ns2
|
|
$SHELL setup.sh
|
|
)
|
|
# root
|
|
(
|
|
cd ns1
|
|
$SHELL setup.sh
|
|
)
|