Hello,
Thank you for posting in Q&A forum.
Here are steps that we can follow to troubleshoot the DNS issue:
1.Configure a DNS forwarder VM in the VNet forward the request to the appropriate Azure DNS server for resolution.
2.Edit the Azure VPN client configuration file (azurevpnconfig.xml) to add the custom DNS server IP address responsible for resolving private link names.
3.Add conditional forwarder for the DNS domain postgres.database.azure.com, which should point to the Azure DNS IP address 168.63.129.163.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.