On Thu, 2011-05-12 at 13:07 +0200, Jakub Hrozek wrote:
https://fedorahosted.org/sssd/ticket/867
channel->tries is only used when a query fails. We were forcibly setting
it to 0, which meant we never retried another server.
From the c-ares manual:
ARES_OPT_TRIES int tries;
The number of tries the resolver will try contacting each name server
before giving up. The default is four tries.
We originally set it to zero because the above entry used to read "the
number of retries", not tries.So zero retries was supposed to mean one
try per server.
Can you verify in the c-ares code that this isn't a behavior that
CHANGED between versions (and thus we might need to detect the version
in use and handle it?)