cURL / Mailing Lists / curl-library / Single Mail


A question regarding DNS resolution when host part is an IP address

From: Mehmet Bozkurt <>
Date: Mon, 26 Aug 2013 19:21:41 +0200


I'm using libcurl version 7.21.1 built for WIN32 (a bit dated I know)
with IPv6 support enabled.

Reading the docs I got the impression that DNS lookups weren't performed
when using IP:s instead of host names in connection URL:s.

I've noticed that when using libcurl to connect to an FTP server there
is a call to getaddrinfo although the URL is

Did I miss a setting to control this feature or did I misunderstand the

The docs I'm referring to are:
5.9 How does libcurl resolve host names?

List admin:
Received on 2013-08-26