diff --git a/src/flb_network.c b/src/flb_network.c index 7ac86e98f67..f9c5bb976a7 100644 --- a/src/flb_network.c +++ b/src/flb_network.c @@ -1045,12 +1045,9 @@ static struct flb_dns_lookup_context *flb_net_dns_lookup_context_create( return NULL; } - /* c-ares options: Set the transport layer to the desired protocol and - * the number of retries to 2 - */ + /* c-ares options: Set the transport layer to the desired protocol */ optmask = ARES_OPT_FLAGS; - opts.tries = 2; if (dns_mode == FLB_DNS_USE_TCP) { opts.flags = ARES_FLAG_USEVC;