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.

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.