summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-11-10 18:45:59 +0100
committerLennart Poettering <lennart@poettering.net>2020-12-03 22:46:59 +0100
commit6c0bacc146f1eea16f3b177a02fadf28901f9302 (patch)
tree0ce7361a54a36ab15d2f32b6f89ec2561468ad48
parentMerge pull request #17809 from yuwata/network-address-fixes-17803 (diff)
downloadsystemd-6c0bacc146f1eea16f3b177a02fadf28901f9302.tar.xz
systemd-6c0bacc146f1eea16f3b177a02fadf28901f9302.zip
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.
-rw-r--r--src/resolve/resolved-dns-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c
index 95f643ddcb..60e8e94e63 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);
}