From: phonedph1 <20867105+phonedph1@users.noreply.github.com> Date: Thu, 12 Oct 2023 15:29:09 +0000 (-0600) Subject: Update dq.rst X-Git-Tag: rec-5.0.0-alpha2~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13361%2Fhead;p=thirdparty%2Fpdns.git Update dq.rst --- diff --git a/pdns/dnsdistdist/docs/reference/dq.rst b/pdns/dnsdistdist/docs/reference/dq.rst index 08bb84cde7..33e209e553 100644 --- a/pdns/dnsdistdist/docs/reference/dq.rst +++ b/pdns/dnsdistdist/docs/reference/dq.rst @@ -463,7 +463,8 @@ DNSResponse object return DNSAction.None end function restartOnServFail(dr) - if dr.rcode == DNSRCode.SERVFAIL then + -- if the query was SERVFAIL and not already tried on the restarted pool + if dr.rcode == DNSRCode.SERVFAIL and dr.pool ~= 'restarted' then -- assign this query to a new pool dr.pool = 'restarted' -- discard the received response and