bind9/bin/tests/system/mkeys
Tom Krizek 34eda91697
Simplify start/stop helper func in system tests
The system test should never attempt to start or stop any other server
than those that belong to that system test. Therefore, it is not
necessary to specify the system test name in function calls.

Additionally, this makes it possible to run the test inside a
differently named directory, as its name is automatically detected with
the $SYSTESTDIR variable. This enables running the system tests inside a
temporary directory.

Direct use of stop.pl was replaced with a more systematic approach to
use stop_servers helper function.

(cherry picked from commit c100308b7d)
2022-11-25 12:57:46 +01:00
..
ns1 Fix mkeys to work with DEFAULT_ALGORITHM properly 2022-08-10 14:06:57 +02:00
ns2 Use DEFAULT_HMAC for rndc 2022-08-10 17:25:26 +10:00
ns3 Fix mkeys to work with DEFAULT_ALGORITHM properly 2022-08-10 14:06:57 +02:00
ns4 Use DEFAULT_HMAC for rndc 2022-08-10 17:25:26 +10:00
ns5 Use DEFAULT_HMAC for rndc 2022-08-10 17:25:26 +10:00
ns6 mkeys: use $() instead of back quotes 2022-08-10 17:26:29 +10:00
ns7 Use DEFAULT_HMAC for rndc 2022-08-10 17:25:26 +10:00
clean.sh Fix mkeys to work with DEFAULT_ALGORITHM properly 2022-08-10 14:06:57 +02:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Randomize algorithm selection for mkeys test 2022-10-27 13:24:52 +02:00
tests.sh Simplify start/stop helper func in system tests 2022-11-25 12:57:46 +01:00

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.

This is for testing RFC 5011 Automated Updates of DNSSEC Trust Anchors.

ns1 is the root server that offers new KSKs and hosts one record for
testing. The TTL for the zone's records is 2 seconds.

ns2 is a validator that uses managed keys.  "-T mkeytimers=2/20/40"
is used so it will attempt do automated updates frequently. "-T tat=1"
is used so it will send TAT queries once per second.

ns3 is a validator with a broken initializing key in trust-anchors.

ns4 is a validator with a deliberately broken managed-keys.bind and
managed-keys.jnl, causing RFC 5011 initialization to fail.

ns5 is a validator which is prevented from getting a response from the
root server, causing key refresh queries to fail.

ns6 is a validator which has unsupported algorithms, one at start up,
one because of an algorithm rollover.

ns7 is a validator with multiple views configured.  It is used for
testing per-view rndc commands and checking interactions between options
related to and potentially affecting RFC 5011 processing.