cURL / Mailing Lists / curl-library / Single Mail

curl-library

[libcurl 7.24.0] AAAA DNS query with --disable-ipv6

From: Jongman Heo <jongman.heo_at_samsung.com>
Date: Fri, 30 Nov 2012 11:21:00 +0000 (GMT)

Dear all,

I have a weird problem with DNS query.

I had used libcurl 7.18.2, with following flags;
  --with-ssl= --enable-ares=--disable-cookies --disable-crypto-auth --disable-ipv6 --without-libidn \
  --without-zlib --with-random=/dev/urandom --disable-file --disable-ldap --disable-ldaps --disable-dict \
  --disable-telnet --disable-tftp --disable-manual --disable-sspi --without-libssh2

Once, I upgrade the libcurl package to 7.24.0, with following flags;
        --with-ssl= --enable-optimize --without-zlib --disable-curldebug --disable-debug \
        --disable-ares --enable-threaded-resolver --enable-thread \
        --disable-cookies --disable-ipv6 --without-libidn \
        --disable-pop3 --disable-imap --disable-smtp --disable-gopher \
        --disable-file --disable-ldap --disable-ldaps --disable-rtsp --disable-proxy \
        --disable-dict --disable-telnet --disable-tftp --disable-ftp --disable-manual --without-libssh2 \
        --without-gnutls --without-polarssl --without-cyassl --without-nss --without-axtls \
        --without-librtmp --without-ca-bundle --without-ca-path \
        --disable-tls-srp --disable-hidden-symbols --disable-soname-bump \
        --with-random=/dev/urandom --enable-shared=yes --enable-static=no

So, c-ares has been replaced with threaded-resolver. For both, disable-ipv6 is specified.

With 7.18.2, I couldn't see IPv6 DNS query (AAAA). But with 7.24.0, there exist AAAA DNS query.
Is this expected behavior with 7.24.0 and threaded-resolver though --disable-ipv6 is specified?

Should I use CURL_IPRESOLVE_V4 option explicitly ?

Please CC me in your response, thanks.

Regards,
Jongman Heo.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-30