cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl fail's to initiate asynchronous DNS requests with c-ares

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 May 2015 09:01:47 +0200 (CEST)

On Tue, 5 May 2015, Rohit Nandan wrote:

> I have build curl and c-ares version 7.33 , 7.35, 7.43 and 1.6, 1.10
> respectively from source and tried both the curl command line and
> programming api where it fails to take --dns-ipv4-addr flag or
> CURLOPT_DNS_LOCAL_IP4
> and perform asynchronous DNS requests. Default build fails with error " (4)
> A requested feature, protocol or option was not found built-in in this
> libcurl due to a build-time decision." while a build with ./configure
> --enable-ares gives no error on terminal but doesn't hits specified DNS
> server and error as "unable to resolve hostname" when using programming api.

That sounds like your newly built curl version is using a previously installed
libcurl.

Verify that the installation is correct and make sure that 'curl -V' shows the
correct libcurl version and c-ares details.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-05-06