Print

Print


Yitzchak,

Have you tried running dig or nslookup on the server from the command
line? Maybe your server is using DNS that is broken or has cached a
bad record.

Michael Della Bitta

Senior Applications Developer
Information Technology Group
The New York Public Library
40 West 20th Street, 5th Floor
New York, NY 10011-4211
(212) 621-0609



On Wed, Nov 9, 2011 at 3:47 PM, Yitzchak Schaffer
<[log in to unmask]> wrote:
> Hello all,
>
> 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!
>
> yitzchas@ubu-dev:/www/websites/drupal/sites/all$ dig www.questionpoint.org
> +short
> 132.174.11.16
>
> yitzchas@ubu-dev:/www/websites/drupal/sites/all$ curl
> "http://www.questionpoint.org/crs/servlet/org.oclc.chat.QPWOnlineStatus?library=10253&rid=0"
> -m 3 -v
> * name lookup timed out
> * Couldn't resolve host 'www.questionpoint.org'
> * Closing connection #0
> curl: (6) name lookup timed out
>
> --
> Yitzchak Schaffer
> Systems Manager
> Touro College Libraries
> 212.742.8770 ext. 2432
> http://www.tourolib.org/
>
> Access Problems? Contact [log in to unmask]
>