|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[ curl-Bugs-3412787 ] libcurl.so.4 failes to resolve hostname to IPv6 using DNS
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 22 Sep 2011 08:52:23 +0200
Bugs item #3412787, was opened at 2011-09-22 08:36
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
We have an application program running on Linux machine. We have one DNS machine which has IPv6 address and in our Linux machine (in /etc/resolv.conf), we have specified the IPv6 address of DNS machine. When we try to make a request from our application (basically GET,POST etc), which uses libcurl api, then the request gets failed. While debugging we found that the libcurl api was failing while executing curl_easy_perform(). On setting the libcurl api in verbose mode we found that the libcurl api couldn't resolve the IPv6 address from the hostname. It gives following error:
* Resolving host timed out: <host-name>
We also found that our libcurl DNS requests were not reaching to the DNS machine. At the time of issue the application was linked to the libcurl.so.4.
When we linked our application to libcurl.so.3, then everthing works fine.
So it seems to us that there is problem with libcurl's new version.
This issue comes only when we specify the IPv6 address of DNS in /etc/resolv.conf file of Unity Server. If we specify the IPv4 address of DNS machine in /etc/resolv.conf file, then everything works fine with libcurl.so.4 version as well.
----------------------------------------------------------------------
>Comment By: Daniel Stenberg (bagder)
Message:
What resolver backend in libcurl are you using? (stock, c-ares or
I assume other services work fine with this DNS server?
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info