cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Fwd: curl 'name look up timeout' error

From: wd <wd_at_wdicc.com>
Date: Fri, 9 Apr 2010 09:18:05 +0800

Ths host abc.com is not exists, I only set it in /etc/hosts file. So I think
this should not be related with DNS server or firewall, is that right?

2010/4/9 Daniel Stenberg <daniel_at_haxx.se>

> On Thu, 8 Apr 2010, wd wrote:
>
> But when I use curl_exec in php, randomly got error like this mail title
>> said. The error code is 6.
>>
>> Then I try to use curl in command line like 'curl http://abc.com/page/1',
>> the same error randomly occur.
>>
>
> That's probably because of something fishy in your network setup. Like a
> bad DNS, weird firewall or similar.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-09