diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-12 13:01:42 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-25 10:24:37 -0400 |
commit | 92cd881bde706379992b012b93873e500cdf0eea (patch) | |
tree | 0a2291b1481017bcf2c2a18377da22cdfbf71ee3 | |
parent | 809bc32d75cb6e17b1cba8a9e11f20c4aa8ecc48 (diff) | |
download | sssd-92cd881bde706379992b012b93873e500cdf0eea.tar.gz sssd-92cd881bde706379992b012b93873e500cdf0eea.tar.xz sssd-92cd881bde706379992b012b93873e500cdf0eea.zip |
Set c-ares to retry nameservers
https://fedorahosted.org/sssd/ticket/867
-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 b7e03ded3..ff53aa441 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 | |