bind9/bin/tests/system/rpz
Aram Sargsyan 924230f05a Test the new 'servfail-until-ready' option
Test whether 'servfail-until-ready yes' works by enabling slow
RPZ loading with a USDT probe activation, and checking that named
returns SERVFAIL during the initial RPZ zones processing stage.

The test requires SystemTap (stap, dtrace) to activate the USDT
probe.
2025-08-22 17:17:28 +00:00
..
ns1 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
ns2 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
ns3 Test the new 'servfail-until-ready' option 2025-08-22 17:17:28 +00:00
ns4 Test adding ede with rpz cname override policy 2025-08-05 08:35:51 +02:00
ns5 Remove DNSRPS implementation 2024-09-18 17:39:14 +02:00
ns6 Remove DNSRPS implementation 2024-09-18 17:39:14 +02:00
ns7 Remove DNSRPS implementation 2024-09-18 17:39:14 +02:00
ns8 Disable DNSSEC validation instead of enabling it with empty TAs in tests 2025-07-06 14:18:10 +00:00
ns9 Disable DNSSEC validation instead of enabling it with empty TAs in tests 2025-07-06 14:18:10 +00:00
ns10 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Test the new 'servfail-until-ready' option 2025-08-22 17:17:28 +00: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 Test the new 'servfail-until-ready' option 2025-08-22 17:17:28 +00:00
tests_sh_rpz.py Test the new 'servfail-until-ready' option 2025-08-22 17:17:28 +00: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.