]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add test cases using static and static-stub zones
authorMark Andrews <marka@isc.org>
Mon, 28 Mar 2022 05:36:03 +0000 (16:36 +1100)
committerMark Andrews <marka@isc.org>
Wed, 4 May 2022 13:52:29 +0000 (23:52 +1000)
commitde5814ba8a0779ea4f066ffefda773d90f966592
treeed64aedebfcedacd2e7652d53cccc8c6a9af7314
parent3562fc9887971c14e32ddc9a7e65faa7f106b2b8
Add test cases using static and static-stub zones

RPZ NSIP and NSDNAME checks were failing with "unrecognized NS
rpz_rrset_find() failed: glue" when static or static-stub zones
where used to resolve the query name.

Add tests using stub and static-stub zones that are expected to
be filtered and not-filtered against NSIP and NSDNAME rules.

stub and static-stub queries are expected to be filtered

stub-nomatch and static-stub-nomatch queries are expected to be passed

(cherry picked from commit 30cb70c82671e345810be546ffa902631b43d306)
bin/tests/system/rpz/ns10/hints [new file with mode: 0644]
bin/tests/system/rpz/ns10/named.conf.in [new file with mode: 0644]
bin/tests/system/rpz/ns10/stub.db [new file with mode: 0644]
bin/tests/system/rpz/ns2/named.conf.in
bin/tests/system/rpz/ns2/stub.db [new file with mode: 0644]
bin/tests/system/rpz/ns3/named.conf.in
bin/tests/system/rpz/setup.sh
bin/tests/system/rpz/tests.sh