diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-11-05 17:00:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-15 21:59:05 +0100 |
commit | 5e8bc852d538544a2285ced429e3a805f13ea260 (patch) | |
tree | 9a1035166393b2fa79fc4da3fad48ba3a394aba3 /src/portable/portabled-bus.c | |
parent | resolved: reuse check for link-local IP address lookups (diff) | |
download | systemd-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