diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-11-10 18:45:59 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-12-16 14:31:40 +0100 |
commit | 228a22bb63db5ffe289c9ee772441e1cec5eaa92 (patch) | |
tree | 9e5aacb5654e0f27e733254ffc3a5994d213320d | |
parent | aa31dd9128ecac5099aabdbcb268816b1b0d416d (diff) | |
download | systemd-228a22bb63db5ffe289c9ee772441e1cec5eaa92.tar.gz |
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.
(cherry picked from commit 6c0bacc146f1eea16f3b177a02fadf28901f9302)
-rw-r--r-- | src/resolve/resolved-dns-transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index 645808e80f..1d4fa14c3b 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -1714,7 +1714,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); } |