bind9/bin/tests/system/rpz
Nicki Křížek c93733263a Use jinja2 templates in rpz test
- The ns3/named.conf.j2 uses has a "#BAD" section that is only included
  after restart. Turn it into ns3/named2.conf.
- Since the original config is then restored, keep a copy of it as
  ns3/named1.conf using a symlink, causing it to be rendered twice.
- Use jinja2 templates for test* files to render the port number instead
  of calling copy_setports in load_db().
2025-12-09 14:23:17 +01:00
..
ns1 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns3 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns4 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns5 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns6 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns7 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns8 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns9 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
ns10 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
README Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test1.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test2.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test3.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test4.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test4a.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test5.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
test6.j2 Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
tests.sh Use jinja2 templates in rpz test 2025-12-09 14:23:17 +01:00
tests_sh_rpz.py Use jinja2 templates in rpz test 2025-12-09 14:23:17 +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.

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.