bind9/bin/tests/system/rpz
Ondřej Surý f8e264ba6d
Remove the lock-file configuration and -X argument to named
The lock-file configuration (both from configuration file and -X
argument to named) has better alternatives nowadays.  Modern process
supervisor should be used to ensure that a single named process is
running on a given configuration.

Alternatively, it's possible to wrap the named with flock(1).
2023-10-26 22:42:37 +02:00
..
ns1 explicitly set dnssec-validation in system tests 2023-06-26 13:41:56 -07:00
ns2 add a test with CD=1 query for pending data 2022-10-19 11:36:11 -07:00
ns3 Add an "rpz" system test check for a failed reconfiguration 2023-02-21 08:23:13 +00:00
ns4 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns5 Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
ns6 update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
ns7 update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
ns8 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns9 update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
ns10 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
testlib Explicitly cast chars to unsigned chars for <ctype.h> functions 2023-09-22 08:29:17 +02:00
.gitignore update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
clean.sh Remove the lock-file configuration and -X argument to named 2023-10-26 22:42:37 +02:00
dnsrps.c update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
dnsrps.zones.in update the rpz tests to use the dummyrpz library 2023-03-28 18:41:17 -07:00
qperf.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
test1 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test2 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test3 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test4 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test4a Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test5 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test6 Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
tests_sh_rpz.py Add pytest functions for shell system tests 2023-05-22 14:11:39 +02: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.

The test setup for the RPZ tests prepares a query perf tool and sets up
policy zones.

Name servers
------------

ns1 is the root server.

ns2 and ns4 are authoritative servers for the various test domains.

ns3 is the main rewriting resolver.

ns5 and ns7 are additional rewriting resolvers.

ns6 is a forwarding server.


Updating the response policy zones
----------------------------------

test1, test2, test3, test4, test5, and test6 are dynamic update files.  These
updates are made against ns3.  The script function "start_group" is called to
start an new batch of tests that may depend on certain server updates.  The
function takes an optional file name and if provided the server updates are
performed before executing the test batch.