summaryrefslogtreecommitdiffstats
path: root/src/portable/portabled-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-11-05 17:00:20 +0100
committerLennart Poettering <lennart@poettering.net>2021-02-15 21:59:05 +0100
commit5e8bc852d538544a2285ced429e3a805f13ea260 (patch)
tree9a1035166393b2fa79fc4da3fad48ba3a394aba3 /src/portable/portabled-bus.c
parentresolved: reuse check for link-local IP address lookups (diff)
downloadsystemd-5e8bc852d538544a2285ced429e3a805f13ea260.tar.xz
systemd-5e8bc852d538544a2285ced429e3a805f13ea260.zip
resolved: don't redundantly switch DNS servers because of transaction failures
When a transaction fails and we decide to switch DNS servers, don#t do so unconditionally. Check if the current DNS server is still the same as when the transaction was initiated. And if not, do not do anything. That should reduce the number of redundant DNS server switches if many parallel transactions fail simultaneously (which is pretty likely if DNSSEC is on). Fixes: #17040
Diffstat (limited to 'src/portable/portabled-bus.c')
0 files changed, 0 insertions, 0 deletions