summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-transaction.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-08 02:29:02 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-11 19:39:59 +0100
commit6a1a5eec43892dee3ff6e208bceb1931c25c782e (patch)
treeb82947accaac31a912efacc2334b7fab08279908 /src/resolve/resolved-dns-transaction.h
parent8d10d62055cd1e9e6e8e0a1ae050fbba36fb9bcd (diff)
resolved: when DNS/TCP doesn't work, try DNS/UDP again
If we failed to contact a DNS server via TCP, bump of the feature level to UDP again. This way we'll switch back between UDP and TCP if we fail to contact a host. Generally, we prefer UDP over TCP, which is why UDP is a higher feature level. But some servers only support UDP but not TCP hence when reaching the lowest feature level of TCP and want to downgrade from there, pick UDP again. We this keep downgrading until we reach TCP and then we cycle through UDP and TCP.
Diffstat (limited to 'src/resolve/resolved-dns-transaction.h')
0 files changed, 0 insertions, 0 deletions