diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-12 13:01:42 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-24 14:44:13 -0400 |
commit | 2cb2b4000c8eef738fe22e920870604e9dd8367b (patch) | |
tree | e74c2af21d1b6b7d432264466662e94d9c4b5f6d /src/resolv/async_resolv.c | |
parent | 48a6c5e720bfd0be328c11bdef4ed1febe42455c (diff) | |
download | sssd_unused-2cb2b4000c8eef738fe22e920870604e9dd8367b.tar.gz sssd_unused-2cb2b4000c8eef738fe22e920870604e9dd8367b.tar.xz sssd_unused-2cb2b4000c8eef738fe22e920870604e9dd8367b.zip |
Set c-ares to retry nameservers
https://fedorahosted.org/sssd/ticket/867
Diffstat (limited to 'src/resolv/async_resolv.c')
-rw-r--r-- | src/resolv/async_resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolv/async_resolv.c b/src/resolv/async_resolv.c index b7e03ded..ff53aa44 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -331,7 +331,7 @@ recreate_ares_channel(struct resolv_ctx *ctx) options.sock_state_cb_data = ctx; options.timeout = ctx->timeout * 1000; options.lookups = discard_const("fb"); - options.tries = 0; + options.tries = 1; ret = ares_init_options(&new_channel, &options, ARES_OPT_SOCK_STATE_CB | ARES_OPT_TIMEOUTMS | |