#993 SSSD should do failover DNS lookups in parallel
Closed: wontfix 4 years ago by pbrezina. Opened 12 years ago by sgallagh.

DNS lookups while offline can take a very long time, especially with failover.

Right now, we behave as follows:

1) Start with the first failover server. Perform a DNS lookup against the first DNS server in the list. If that fails, try the seconds server, etc.

2) If nothing was resolved for the first server, try the next and repeat all of step 1.

Currently, we have a five second timeout to wait for responses from DNS servers. This means we are dealing with {{{5 * number_of_failover_servers * number_of_nameservers}}} seconds to time out if the network connection is unresponsive. This is FAR too long.

A better optimization would be to resolve all of the failover servers at the same time, rather than waiting for the earlier ones to fail. In this case, we would reduce this timeout to {{{5 * number_of_nameservers}}} (which may be further improved by ticket #976).


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.8.0
priority: major => minor

The work done on ticket #976 mitigates the problem.

blockedby: =>
blocking: =>
milestone: SSSD 1.8.0 => SSSD Deferred

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD Patches welcome

7 years ago

Metadata Update from @jhrozek:
- Assignee reset

4 years ago

Thank you for taking time to submit this request for SSSD. Unfortunately this issue was not given priority and the team lacks the capacity to work on it at this time.

Given that we are unable to fulfill this request I am closing the issue as wontfix.

If the issue still persist on recent SSSD you can request re-consideration of this decision by reopening this issue. Please provide additional technical details about its importance to you.

Thank you for understanding.

Metadata Update from @pbrezina:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

4 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2035

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata