Source: https://www.thomasmartens.eu/contabo-dns-lookup-timeouts/
I got a ton of getaddrinfo EAI_AGAIN
(alpine) and getaddrinfo ENOTFOUND
(debian) errors in my nodejs app, running in docker.
Also sometimes curl fails with curl: (6) Could not resolve host: ...
Turns out contabo DNS servers are unreliable.
- Check default DNS servers:
resolvectl status | grep 'DNS Servers' -A2
orcat /etc/resolv.conf