[9.16] Reproducer for CVE-2023-2911

Merged Tom Krizek requested to merge 4089-stale-query-loop-test-9.16 into bind-9.16

Backport of MR !8132 (merged)

Closes #4089 (closed)

Merge request reports