]> 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:00:16 +0000 (09:00 +0200)
commit64c3c57b59670d17788191b047a561fb2397b9c4
tree4101a69928b36cfd01752cc64e1347fae50f301a
parent6da142ff7f8d48e9c4adbe80f92f63668277bfef
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".
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