]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add stale answer extended errors
authorMatthijs Mekking <matthijs@isc.org>
Thu, 21 Apr 2022 08:29:09 +0000 (10:29 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 28 Apr 2022 07:58:25 +0000 (09:58 +0200)
commitc66b9abc0b7c265211d7ca66dc44ca452d3dbbd3
tree1cdb3c644875b942181272994b211a72d4f1c399
parentc5beb2b7d0ad2fb0e38aad7e121cb4193b5ad806
Add stale answer extended errors

Add DNS extended errors 3 (Stale Answer) and 19 (Stale NXDOMAIN Answer)
to responses. Add extra text with the reason why the stale answer was
returned.

To test, we need to change the configuration such that for the first
set of tests the stale-refresh-time window does not interfer with the
expected extended errors.
bin/tests/system/serve-stale/ns1/named2.conf.in
bin/tests/system/serve-stale/ns1/named3.conf.in
bin/tests/system/serve-stale/ns1/named4.conf.in [new file with mode: 0644]
bin/tests/system/serve-stale/tests.sh
lib/ns/query.c