cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
'Couldn't resolve host' error since relocating server
From: Tom Van de Putte <goldfrapper_at_gmail.com>
Date: Wed, 19 Aug 2009 09:42:16 +0200
My company moved last friday and thus so did our development server. The
It hangs on curl_multi_select() because it can't resolve the hostname.
However the CLI of curl works perfectly so I checked the configs (the
So I ran the exact same code (simple curl http get action) on another
Using the options CURLOPT_DNS_USE_GLOBAL_CACHE and CURLOPT_DNS_CACHE_TIMEOUT
The test code:
$_h = curl_init();
I found out that when I add the requested domain to my /etc/hosts file (and
Even worse: if I run 'host dns.be' it returns the requested dns data. which
So this could mean this is perhaps not a dns/bind problem and a fault in how
I first thought is was a problem with the new glibc version (updated to 2.10
Is there someone familiar with this kind of problems?
I really need this to work again.
Thanks in advance,
These mail archives are generated by hypermail.
Page updated November 12, 2010.
web site info