Hi,
Thank you for posting in Q&A!
In your envirnment, do Private DNS zones exist in Azure? If it exists,
Datacenter - Primary DNS: Server 2 (Datacenter) / Secondary: Server 2 (Azure)
Azure - Primary DNS: Server 2 (Azure) / Secondary: Server 2 (Datacenter)
The setting is correct. For more details, please refer to:
https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.