summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/resolv/async_resolv.c2
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 |