Files
bind9/bin/tests/system/rpz
Evan Hunt f43de96460 update the rpz tests to use the dummyrpz library
when testing the DNSRPS API, instead of linking to an installed
librpz.so from fastrpz, we now link to the test library. code that
ran dnsrpzd and checked the fastrpz license is now unnecessary and
has been removed.

two dnsrps-specific test cases in rpz (qname_as_ns and ip_as_ns) have
been removed, because they were only supported by fastrpz and do not
work in the test library. in rpzrecurse, nsip-wait-recurse and
nsdname-wait-recurse are now only tested in native mode, due to those
tests being specific to the native implementation.
2023-03-28 18:41:17 -07:00
..
2022-07-07 10:11:42 +10:00
2022-07-07 10:11:42 +10:00
2022-07-07 10:11:42 +10:00
2022-07-07 10:11:42 +10:00
2023-03-28 18:41:17 -07: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.