Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Every so often a droplet will start throwing this error out of the blue:
“Temporary failure in name resolution”
PHP error (redacted):
{"error":{"msg":"php_network_getaddresses: getaddrinfo for xxx-000000-do-user-000000-0.b.db.ondigitalocean.com failed: Temporary failure in name resolution","code":2002}}
It’s occurring because it’s trying to make a SQL connection to a DO managed DB.
The issue only occurs from THAT droplet, no other. Other droplets can communicate with the managed DB without issue. I can even remotely connect to the Managed DB and can see that it’s running fine. The issue is purely isolated to the one droplet at that moment.
Then, after about 10-15 minutes, the issue resolves and the said droplet starts talking to the managed DB again.
What causes this? The instances of it occurring a very random, from different droplets, usually without any significant or unusual activity or process. The fact that we can connect into the managed DB remotely suggests that it’s an internal issue within DO.
A few articles here suggest that it’s a DNS issue
Chris
twcinnovations
richard.wilson
richard.wilson
richard.wilson
rich
64c835749e2e4bf7a2259c9e896737
Yakin
caio_fr_sp
Abhishek M S
lnxfsf