# Apps can't connect to database - DNS lookup issue

**URL:** <https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421>\
**Category:** Percona Operator for PostgreSQL\
**Created:** [August 13, 2023, 6:32pm UTC](https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421 "2023-08-13T18:32:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Slavisa\_Milojkovic](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/slavisa_milojkovic/32/7097_2.png) [@Slavisa\_Milojkovic](https://forums.percona.com/u/Slavisa_Milojkovic)\
**Post date:** [August 13, 2023, 11:27pm UTC](https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421/2 "2023-08-13T23:27:11Z")

</div>

This is the exact issue I have. FQDM in pgbouncer can be changed for postgres v1, but not sure how to change it in v2? Please help!

> [@Pgbouncer server DNS lookup failed](https://forums.percona.com/t/pgbouncer-server-dns-lookup-failed/19731/5):
>
> Yes, that’s the problem. But how do we edit it directly from the PerconaPGCluster manifest without editing the configmap manualy?

---

_[View the full topic](https://forums.percona.com/t/apps-cant-connect-to-database-dns-lookup-issue/24421)._
