curl-library
Re: dns resolver issues
Date: Mon, 28 Nov 2011 19:48:49 +0100 (CET)
On Mon, 28 Nov 2011, Peter Vereshagin wrote:
> 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
So it uses the c-ares resolver backend...
> 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.
I don't know FreeBSD or what differences jail()+chroot vs jexec() cause to
programs. Can't you trace an invoke in both environments and compare what
operations that are missing or fail in the jail()+chroot case?
> Jail has only a 127.0.0.1 IP address so I tried a '-4' switch for curl(1)
> and bingo! it resolves.
And your resolver works fine with IPv6 for other programs?
> ps. Should I update my curl package before to report this? ;-)
You're already reporting! =) There's no better place or way to report
(lib)curl problems than posting them here on this mailing list!
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-11-28