PHP CURL ERROR: name lookup timed out

Hello,

We had been on linode for around 3 years, every thing was working fine, but from last 4-5 days, our php curl script started giving error

"name lookup timed out"

however i can ping the domain(i am trying to curl) from console.

We are using CENTOS 6

Below is the content from our resolv.conf

options rotate

; generated by /sbin/dhclient-script

search members.linode.com

nameserver 103.3.60.19

nameserver 103.3.60.20

nameserver 103.3.60.18

1 Reply

What is the domain you are trying to curl/ping? Is the script on your Linode or elsewhere, and was the console you tested from your Linode or elsewhere?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct