]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add test for RPZ in multiple views
authorOndřej Surý <ondrej@isc.org>
Wed, 22 Mar 2023 14:11:17 +0000 (15:11 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Apr 2023 14:27:46 +0000 (16:27 +0200)
commitf60bed5eb15c8c7466d32075db484e8720773b75
treeb902f8e3c87505efe5a658b6687a9c96b6138355
parentf38860d561be76073c9ea2ecfa285d2792b96dc0
Add test for RPZ in multiple views

This adds rudimentary test for response-policy zones in multiple
views.  Different combinations are tested:

- two views with response-policy inherited from options {};
- two views view explicit response-policy using same RPZ zone name
- two views view explicit response-policy using secondary RPZ zone

(cherry picked from commit 1649c768e94a3774fe66d35387c6b208f2bc0ed1)
15 files changed:
bin/tests/system/rpzextra/clean.sh
bin/tests/system/rpzextra/ns1/named.conf.in [deleted file]
bin/tests/system/rpzextra/ns2/gooddomain.db [new file with mode: 0644]
bin/tests/system/rpzextra/ns2/named.conf.in
bin/tests/system/rpzextra/ns2/rpz-external.local.db [new file with mode: 0644]
bin/tests/system/rpzextra/ns3/external-rpz.local.db [new file with mode: 0644]
bin/tests/system/rpzextra/ns3/first-rpz.local.db [moved from bin/tests/system/rpzextra/ns1/rpz.local.db with 100% similarity]
bin/tests/system/rpzextra/ns3/fourth-rpz-extra.local.db [new file with mode: 0644]
bin/tests/system/rpzextra/ns3/named.args [moved from bin/tests/system/rpzextra/ns1/named.args with 100% similarity]
bin/tests/system/rpzextra/ns3/named.conf.in [new file with mode: 0644]
bin/tests/system/rpzextra/ns3/root.db [moved from bin/tests/system/rpzextra/ns1/root.db with 92% similarity]
bin/tests/system/rpzextra/ns3/third-rpz-extra.local.db [new file with mode: 0644]
bin/tests/system/rpzextra/setup.sh
bin/tests/system/rpzextra/tests_rpz_multiple_views.py [new file with mode: 0644]
bin/tests/system/rpzextra/tests_rpz_passthru_logging.py