]> git.ipfire.org Git - thirdparty/bind9.git/commit
If RPZ config'd, bail stale-answer-client-timeout
authorMatthijs Mekking <matthijs@isc.org>
Tue, 30 Mar 2021 14:05:51 +0000 (16:05 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 2 Apr 2021 08:02:40 +0000 (10:02 +0200)
commit3d3a6415f75866e52b5d96122f797c595ec84608
treedb3d6a2a3be2a3076f8030295533269db7436250
parent839df9419021e95b59a052aedf8e5c53b0700622
If RPZ config'd, bail stale-answer-client-timeout

When we are recursing, RPZ processing is not allowed. But when we are
performing a lookup due to "stale-answer-client-timeout", we are still
recursing. This effectively means that RPZ processing is disabled on
such a lookup.

In this case, bail the "stale-answer-client-timeout" lookup and wait
for recursion to complete, as we we can't perform the RPZ rewrite
rules reliably.
lib/ns/query.c