summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved.conf.in
diff options
context:
space:
mode:
authorSam Morris <sam@robots.org.uk>2018-10-08 13:03:28 +0200
committerLennart Poettering <lennart@poettering.net>2018-12-12 21:21:04 +0100
commit4b987478b0abf14e84ff6fcae4ae8dec0d9ab43e (patch)
treedff65d07ccc43a75d0ca4da1182e178165606e58 /src/resolve/resolved.conf.in
parentcgroup: Don't explicitly check for member in UNIT_BEFORE (diff)
downloadsystemd-4b987478b0abf14e84ff6fcae4ae8dec0d9ab43e.tar.xz
systemd-4b987478b0abf14e84ff6fcae4ae8dec0d9ab43e.zip
resolved: have the stub resolver listen on both TCP and UDP by default
RFC7766 section 4 states that in the absence of EDNS0, a response that is too large for a 512-byte UDP packet will have the 'truncated' bit set. The client is expected to retry the query over TCP. Fixes #10264.
Diffstat (limited to 'src/resolve/resolved.conf.in')
-rw-r--r--src/resolve/resolved.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved.conf.in b/src/resolve/resolved.conf.in
index e559291f66..6898c7848b 100644
--- a/src/resolve/resolved.conf.in
+++ b/src/resolve/resolved.conf.in
@@ -20,5 +20,5 @@
#DNSSEC=@DEFAULT_DNSSEC_MODE@
#DNSOverTLS=@DEFAULT_DNS_OVER_TLS_MODE@
#Cache=yes
-#DNSStubListener=udp
+#DNSStubListener=yes
#ReadEtcHosts=yes