diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 6eac7e9c57..f084a70e45 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -510,7 +510,7 @@ static void dns_transaction_retry(DnsTransaction *t, bool next_server) { /* Retries the transaction as it is, possibly on a different server */ - if (next_server) + if (next_server && t->scope->protocol == DNS_PROTOCOL_DNS) log_debug("Retrying transaction %" PRIu16 ", after switching servers.", t->id); else log_debug("Retrying transaction %" PRIu16 ".", t->id);