diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index a8ae79fc28..5b4dca2774 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -4365,7 +4365,7 @@ recv_done(isc_nmhandle_t *handle, isc_result_t eresult, isc_region_t *region, if (l->current_query == query) { query_detach(&l->current_query); } - if (next != NULL) { + if (next != NULL && (!l->ns_search_only || l->trace_root)) { debug("sending query %p", next); if (l->tcp_mode) { start_tcp(next);