cURL / Mailing Lists / curl-library / Single Mail

curl-library

java/curl DNS issue on Linux

From: Mann, Bryan <Bryan.Mann_at_ci.austin.tx.us>
Date: Thu, 26 Oct 2006 14:17:06 -0500

Hello,

I am attempting to use www.swig.org and libcurl(7.15.5) to create a more
extensive java for curl binding on Linux(knoppix 3.4) than what I find
on the Net.

To test my "binding" I have re-written simple.c into simple.java and am
getting a CURLE_COULDNT_RESOLVE_HOST error.

In the interest of working through the problem I have tested and
verified that my JNI code receives valid values.

I also have verified that the requested hostname is completely mangled
via tcpdump.

I downloaded, compiled and installed c-ares(and re-built libcurl) in
hopes that it might fix the problem but it persists.

I'm pretty much out of ideas on this except to start digging into
libcurl code itself. I am happy to provide what code I have for anyone
that thinks that might help debug the problem.

Any help greatly appreciated.

Bryan.

---
Bryan Mann
City of Austin Controller's Office,
--
"I wish I had a dollar for every file on /opt, 1,028,173 at last count."
Received on 2006-10-26