cURL / Mailing Lists / curl-library / Single Mail


Re: With wrong DNS value Internet connection is successful

From: Daniel Stenberg <>
Date: Thu, 30 Aug 2012 12:43:39 +0200 (CEST)

On Thu, 30 Aug 2012, Seema Singh wrote:

> Primary DNS: (Wrong DNS)
> Secondary DNS: (Wrong DNS)


> curl_easy_setopt(pCurl, CURLOPT_PROXY, proxyAddress);
> curl_easy_setopt(pCurl, CURLOPT_PROXYPORT, port);

When you're using a HTTP proxy, libcurl won't resolve any names at all but
instead leave that task entirely to the proxy. So your local DNS settings have
no effect at all.

List admin:
Received on 2012-08-30