]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add test for the proposed fix
authorDiego Fronza <diego@isc.org>
Thu, 13 Feb 2020 23:35:25 +0000 (20:35 -0300)
committerOndřej Surý <ondrej@isc.org>
Wed, 8 Apr 2020 07:37:33 +0000 (09:37 +0200)
commiteb7a66427467c22df28233f40ac4e437fbba10f3
tree0c1256514f686d171fa15963b7e65c9c15e5b67b
parentcf7b0de1eb98df64573002ada3d604a1beac2662
Add test for the proposed fix

This test asserts that option "deny-answer-aliases" works correctly
when forwarding requests.

As a matter of example, the behavior expected for a forwarder BIND
instance, having an option such as deny-answer-aliases { "domain"; }
is that when forwarding a request for *.anything-but-domain, it is
expected that it will return SERVFAIL if any answer received has a CNAME
for "*.domain".

(cherry picked from commit 9bdb960a16a69997b08746e698b6b02c8dc6c795)
bin/tests/system/forward/ns4/malicious.db [new file with mode: 0644]
bin/tests/system/forward/ns4/named.conf.in
bin/tests/system/forward/ns5/named.conf.in
bin/tests/system/forward/ns5/rebind.db [new file with mode: 0644]
bin/tests/system/forward/tests.sh