cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: proxy resolution failure

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Feb 2013 10:16:44 +0100 (CET)

On Wed, 20 Feb 2013, CP, Ambika wrote:

>> When you connect the network again, is the DNS server still present on the
>> same IP as before or does it change?

> The DNS server remains on the same IP. (The DNS primary and secondary server
> IP addresses remain the same).

Then I really can't understand why it fails...

> My libcurl is built with the '--disable-ares' option (I presume this makes
> it use the default resolver)

Right. Then it is up to getaddrinfo() to return the correct data, and if that
fails I lean towards simply blaming that. It seems like a cached negative
result for some reason.

I figure you should be able to strace the process to see that it gets called
and returns something.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-22