I have curl installed and that works fine, however I've been reading about the blocking nature of the DNS lookups and discovered that it's slowing down my app.

I've done apt-get install libc-ares2 but I'm not sure how to tell curl to use that library when doing a lookup.


It appears that the libcurl library must be built with c-ares support at compile time. From a cursory glance at the curl launchpad page This doesn't appear to be a dependancy of libcurl under Ubuntu, so it looks like you are left compiling and statically linking to your build of the libcurl library. This seems like a more appropriate question for StackOverflow.

  • Okay I'll ask it over there (unless there is an easy way to move it over?) – user125234 Jan 22 '13 at 19:05
  • Not that I know of, and if there is, it probably requires more rep. – sean_m Jan 22 '13 at 19:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.