Resolve "TTL issue with resolver's cached and expired results for qtype ANY queries" [v9_16]

Mark Andrews requested to merge 3613-redo-dumping-expired-rdatasets-v9_16 into v9_16

This reverts commit f8d866c6.

(cherry picked from commit 90249e4a)

Closes #3613 (closed)

Merge request reports