Managed Postgres DNS not resolving from inside Fly apps: pgbouncer.*.flympg.net nxdomain

Hi all,

Region: ORD
State: Ready (green in dashboard)
Created: ~3 hours ago

Both hostnames return nxdomain from inside Fly apps AND from public DNS (8.8.8.8, 1.1.1.1):

fly mpg attach sets DATABASE_URL with these hostnames but apps can’t connect. Some connections intermittently succeed (queries execute with 1-2s
latency) but most fail with nxdomain.

Production apps are down because of this. Data was successfully restored into the cluster via external connection from another Fly machine.

Any help appreciated!

Just guessing here; did you attach the app to the cluster?

This link suggests that you should ensure your app is able to connect to the db with IPv6: