diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-08 02:29:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-11 19:39:59 +0100 |
commit | 6a1a5eec43892dee3ff6e208bceb1931c25c782e (patch) | |
tree | b82947accaac31a912efacc2334b7fab08279908 /src/udev/udevadm.c | |
parent | 8d10d62055cd1e9e6e8e0a1ae050fbba36fb9bcd (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/udev/udevadm.c')
0 files changed, 0 insertions, 0 deletions