diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-12 13:01:42 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-12 13:23:43 -0400 |
commit | a5c7d86090f960543b9d53c7c637cc08291f7170 (patch) | |
tree | 3d15d11a6ac5db4336d8adf98bd5d0edaf3a2391 /src/resolv | |
parent | cf7385b54757305ca6a7edfc18e25685888dc531 (diff) | |
download | sssd2-a5c7d86090f960543b9d53c7c637cc08291f7170.tar.gz sssd2-a5c7d86090f960543b9d53c7c637cc08291f7170.tar.xz sssd2-a5c7d86090f960543b9d53c7c637cc08291f7170.zip |
Set c-ares to retry nameservers
https://fedorahosted.org/sssd/ticket/867
Diffstat (limited to 'src/resolv')
-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 | |