summaryrefslogtreecommitdiffstats
path: root/src/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolv')
-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 cc57d8e3e..8aa0e0d19 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 = 1;
+ options.tries = 0;
ret = ares_init_options(&new_channel, &options,
ARES_OPT_SOCK_STATE_CB |
ARES_OPT_TIMEOUTMS |