It's setting the timeout
I upped it to ten and it still failed, but when I dropped the "-m 3" it does return the same as the browser.
So it's just real slow, that's all.
Web Services Programmer
Georgia State University
e: [log in to unmask]
t: 404 413 2771
From: Code for Libraries [[log in to unmask]] on behalf of Yitzchak Schaffer [[log in to unmask]]
Sent: Wednesday, November 09, 2011 3:47 PM
To: [log in to unmask]
Subject: [CODE4LIB] Domain lookup madness
Mystified. A drupal module on our site makes a call to an OCLC server to
get status of chat service. This has been working fine until this morning.
I can open a browser and successfully browse the URL of the status
service. But when I use file_get_contents() or php-curl (or command-line
curl for that matter), on the same box, I get a domain lookup error, see
below. What the heck is going on? TIA!
-m 3 -v
* name lookup timed out
* Couldn't resolve host 'www.questionpoint.org'
* Closing connection #0
curl: (6) name lookup timed out
Touro College Libraries
212.742.8770 ext. 2432
Access Problems? Contact [log in to unmask]