]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update dq.rst 13361/head
authorphonedph1 <20867105+phonedph1@users.noreply.github.com>
Thu, 12 Oct 2023 15:29:09 +0000 (09:29 -0600)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2023 15:29:09 +0000 (09:29 -0600)
pdns/dnsdistdist/docs/reference/dq.rst

index 08bb84cde74d64b61ac5a03469f7dd1ef8a4d48a..33e209e5539daf53bf69e14fd337912867cecb5a 100644 (file)
@@ -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