Any five second delay in name resolution is most likely caused by this
open bug in systemd-resolved:

https://github.com/systemd/systemd/issues/11849

The root cause is a delay when resolved has to downgrade the feature set
of its requests to upstream DNS servers. It correctly discovers a
compatible feature set, but doesn't implement the discovered feature set
until the next new query attempt. The retry logic is supposed to handle
this, but the bug is that it goes crazy and retries with a known not
working feature set until the max retry counter is hit. Then 5 seconds
later, a new attempt is made, and works perfectly, the compatible
feature set is used on the first attempt of the new query.



** Bug watch added: github.com/systemd/systemd/issues #11849
   https://github.com/systemd/systemd/issues/11849

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1765477

Title:
  5s delay in AAAA dns resolving; artful and earlier is quick

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1765477/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to