cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: dns resolver issues

From: Peter Vereshagin <peter_at_vereshagin.org>
Date: Mon, 28 Nov 2011 19:31:34 +0400

Hello.

2011/11/26 14:44:21 +0100 Daniel Stenberg <daniel_at_haxx.se> => To libcurl development :
DS> If you have the same problem, why don't you apply the same fix?

Because of the difference I mentioned below? ;-)

DS> What curl version on what platform is this? And what resolver backend does it
DS> use? (A curl -V output would tell)

    curl 7.21.1 (i386-portbld-freebsd7.3) libcurl/7.21.1 OpenSSL/1.0.0e zlib/1.2.3 c-ares/1.7.2 libidn/1.16 libssh2/1.2.7 librtmp/2.3
    Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
    Features: AsynchDNS Debug TrackMemory IDN IPv6 Largefile NTLM SSL libz

    FreeBSD teh.ost 7.4-STABLE FreeBSD 7.4-STABLE #12: Wed Oct 5 05:49:39 MSK 2011 usr_at_teh.ost:/TASTY i386

I do this inside a jail(4) running but the error occurs only from a shell
chroot(2)'ed into the same directory. With curl(1) running from a jexec(8)
there is no such a problem. Jail has only a 127.0.0.1 IP address so I tried a
'-4' switch for curl(1) and bingo! it resolves. Currently I can see this a
kind of a workaround solution only as curl(1) has hardcoded arguments in the
tool I try to use (perlbrew).

Hope this trace can help: http://paste2.org/p/1801128

Thank you!

ps. Should I update my curl package before to report this? ;-)

--
Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: A0E26627 
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-28