Name lookup timed out

I keep getting these errors on my Wordpress site for doing actions like Facebook login or retreiving external post title via HTTP curl.

Name lookup timed out

It takes few seconds before it shows this error, so it doesnt look like a timeout configuration problem.

I also didnt find any problems with the DNS, at least not any that i am familiar with.

Any ideas?


Hmm, what nameservers is your server setup to use? You can see that in /etc/resolv.conf file.

You’d want to make sure that all the nameservers listed there are working properly, and answering queries from your server.