Question

Postgres Managed Database - "Could not translate host name" error appearing randomly

We’re hosting a dedicated Postgres 14 instance (fra1) and around a week ago, we started seeing errors of this sort:

Could not translate host name "db_name.b.db.ondigitalocean.com" to address: Temporary failure in name resolution.

The errors happen quite randomly and we can’t figure out the cause. We checked for traffic spikes and bot activity but none were present. As far as we know, we didn’t make any changes that could cause this issue.

We checked the DB load graphs and everything seems normal. CPU usage is the same as before (around 20%), RAM usage is around 75%, and disk space is at 40%. The load is also normal on the droplet connecting to the DB.

We also tried changing the systemd-resolved DNS config to 8.8.8.8 and 1.1.1.1 servers but it didn’t help.

If we try to ping the DB hostname from the droplet connecting to the DB instance, the pings work normally.

Can somebody from the DO team check if there are some issues on the DO side?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
June 16, 2024

Hey @bartolfreskura,

As far as I can see there was an incident affecting Managed Databases Control Plane:

https://status.digitalocean.com/incidents/yqjv7c5yn7lw

This could explain the intermittent issue that you were seeing but should be all resolved now.

If you are still seeing that issue, please reach out to the DigitalOcean support team who will be able to further investigate this for you:

https://www.digitalocean.com/support/

Hope that helps!

- Bobby.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel