[9.16] prevent query_coveringnsec() from running twice
when synthesizing a new CNAME, we now check whether the target matches the query already being processed. if so, we do not restart the query; this prevents a waste of resources.
(cherry picked from commit 0ae8b2e0)
Backport of MR !8214 (merged)
Edited by Evan Hunt