Improve forensics for the querylog section of rndc system test
requested to merge 3266-rndc-system-test-fails-due-to-rate-limit-of-built-in-_bind-view-v9_18 into v9_18
The dig commands appear to be failing unexpectedly on some platforms when rate limiting kicks in and the response is dropped. Correct behaviour should be for dig to retry the query. Set +qr and capture stdout and stderr of each of the dig commands involved.
(cherry picked from commit 614cf5a0)
Closes #3266 (closed)