cURL / Mailing Lists / curl-library / Single Mail


Re: Need option to set IP/Port with CUrl request as FQDN

From: Daniel Stenberg <>
Date: Thu, 5 Sep 2013 22:33:48 +0200 (CEST)

On Thu, 5 Sep 2013, Gaurav Rastogi -X (garastog - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco) wrote:

> 3. What we want is that : Is there any option using which we can set this
> IP/port using CURL interface which should be independent from the URL, so
> that we can avoid sending DNS lookup request to DNS server. Please note we
> need to set FQDN in https request URL as we are validating 3rd party
> certificates using the FQDN.

Are you looking for CURLOPT_RESOLVE ?

List admin:
Received on 2013-09-05