diff options
Diffstat (limited to 'src')
-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 ef76f1711..936fd8026 100644 --- a/src/resolv/async_resolv.c +++ b/src/resolv/async_resolv.c @@ -819,7 +819,7 @@ resolv_gethostbyname_dns_query(struct tevent_req *req, DEBUG(4, ("Trying to resolve %s record of '%s' in DNS\n", state->family == AF_INET ? "A" : "AAAA", state->name)); - ares_query(state->resolv_ctx->channel, + ares_search(state->resolv_ctx->channel, state->name, ns_c_in, (state->family == AF_INET) ? ns_t_a : ns_t_aaaa, resolv_gethostbyname_dns_query_done, req); |