From: Lennart Poettering Date: Tue, 10 Nov 2020 17:45:59 +0000 (+0100) Subject: resolved: improve log message when we use TCP a bit X-Git-Tag: v248-rc1~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c0bacc146f1eea16f3b177a02fadf28901f9302;p=thirdparty%2Fsystemd.git resolved: improve log message when we use TCP a bit DNS-over-TLS being in use isn't precisely the same as "UDP not supported". Let's make this clearer. --- diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 95f643ddcb3..60e8e94e63e 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -1712,7 +1712,7 @@ int dns_transaction_go(DnsTransaction *t) { if (r == -EMSGSIZE) log_debug("Sending query via TCP since it is too large."); else if (r == -EAGAIN) - log_debug("Sending query via TCP since UDP isn't supported."); + log_debug("Sending query via TCP since UDP isn't supported or DNS-over-TLS is selected."); if (IN_SET(r, -EMSGSIZE, -EAGAIN)) r = dns_transaction_emit_tcp(t); }