Azure Sql server Private DNS resolving Public IP in the place of Private IP

Satish B 210 Reputation points
2026-07-15T00:01:33.2266667+00:00

Hi Team,

I have Hub & spoke architecture. in Hub we have azure private resolver with forwarding rule set & Inbound and outbound endpoint configured. I have deployed Azure Private DNS Zone(database.windows.net) & linked with all Hub & spoke Vnets. & also I have deployed Azure sql server with Private endpoint and attached with HUb Private DNS Zone. As per client in onprem DNS forwarder for database does not exist. How to handle & resolve this issue .The complete deployment done using terraform.is their any option available with creating on Prem dns forwarder for database.

Can some one pls suggest

Azure DNS
Azure DNS

An Azure service that enables hosting Domain Name System (DNS) domains in Azure.

0 comments No comments

Answer accepted by question author
TP 163.4K Reputation points Volunteer Moderator
2026-07-15T00:44:23.3633333+00:00

Hi Satish,

The typical way to handle this is to have DNS server(s) on premises with conditional forwarding to your Azure DNS Private Resolver. These DNS servers could run on VMs, or part of on-prem firewall device or similar.

Please see diagram below from Azure Private DNS Resolver documentation:

Screenshot of Azure DNS Private Resolver architecture showing DNS resolution flow between Azure virtual networks and on-premises networks through inbound and outbound endpoints.

Please click Accept Answer and upvote if the above was helpful.

Thanks.

-TP

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.