strange curl timeout

Hi I'm on Ubuntu 16.04.

Bit of a strange one this, but I'm getting this curl timeout error since moving my site from cPanel to Virtualmin:

"cURL error 28: Resolving timed out after 5515 milliseconds"

curl is installed and everything else works ok.. tried also with the firewall turned off but still get the same error. Thanks for any help with this if you can think of what may be the cause. I have a static block of ips if that makes a difference (maybe it is a network related issue?). Thanks again.



Howdy -- what IP address is it trying to resolve when that times out?

Also, what is the output of this command:


Hi thanks.

The host command outputs: has address has IPv6 address 2a00:1450:4009:808::200e mail is handled by 30 mail is handled by 20 mail is handled by 10 mail is handled by 40

So that looks pretty good!

I can't seem to find what IP or where curl is resolving too. There is just an option in the website backend to "Activate Network Brute Force Protection" - when I click it it says "cURL error 28: Resolving timed out after 5514 milliseconds"

The same option though does work on my other cPanel server - so it must be some curl config or something that is different maybe...

The error message there sounds a bit like a network issue of some kind.

Curl is being told to access a given URL, but it's attempt to perform a DNS lookup on a particular host is timing out.

However, our test above shows that DNS resolution is working properly on your server.

You mentioned that some hosts or networks are being blocked? Would it be possible to temporarily lift those restrictions?