curl-library
Re: With wrong DNS value Internet connection is successful
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Aug 2012 12:43:39 +0200 (CEST)
Date: Thu, 30 Aug 2012 12:43:39 +0200 (CEST)
On Thu, 30 Aug 2012, Seema Singh wrote:
> Primary DNS: 100.100.100.100 (Wrong DNS)
> Secondary DNS: 200.200.200.200 (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.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-08-30