]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: usr: Fix recursion loop in case of badly behaving forwarders
authorColin Vidal <colin@isc.org>
Thu, 18 Jun 2026 07:21:26 +0000 (09:21 +0200)
committerColin Vidal <colin@isc.org>
Thu, 18 Jun 2026 07:21:26 +0000 (09:21 +0200)
commitf52fe46dec8fc06fb2f6089242564495defcbe07
tree9bb212c02a1e149110e13820a056ba312cdc3d98
parente0a74bf3cbdd40018e3fc51fd9c21b70c53969c6
parent4b55bfe626e56575359804153d2c418185c41607
fix: usr: Fix recursion loop in case of badly behaving forwarders

When forwarding DNS queries, the CD bit is cleared on the first query, and the CD bit is only used as a fallback if the first query fails. However, due to a logic bug this could lead to an unbounded loop re-sending the same message, until the maximum query count is hit. This has been fixed.

Closes #5804

Merge branch '5804-resend-loop-forwarder-cd' into 'main'

See merge request isc-projects/bind9!12133