An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
Hello Ashish Bang
I understand that you are configuring Azure DNS Private Resolver in a hybrid setup, with Azure Firewall serving as your DNS proxy.you can use Azure Firewall to handle DNS queries from your workloads before forwarding them to the Private DNS Resolver inbound endpoint, this approach is effective. It keeps your DNS resolution process consistent and ensures Azure resources’ requests go through the firewall, so your current whitelisting and filtering rules remain in place.
Using Azure Firewall as a DNS proxy is generally recommended. Routing all DNS requests through the firewall aligns with best practices, helping maintain consistent DNS resolution and supporting your FQDN filtering needs.
- Make sure the DNS proxy feature is turned on for Azure Firewall. Set up Azure Firewall to send DNS queries to the IP address of the Inbound Endpoint on the Azure DNS Private Resolver. Keep the current firewall rules that permit, or block traffic based on the resolved FQDNs.
- And in the azure firewall VNET configure the custom DNS server to use the inbound endpoint IP of the Private DNS Resolver. Verify that the DNS proxy is enabled on Azure Firewall.
- Configure conditional forwarding in your Azure DNS Private Resolver ruleset to ensure that queries for on-premises domains are routed correctly. Also, make sure your firewall policies permit the necessary DNS traffic and that the DNS proxy settings are correctly configured.
- Ensure that your NSGs are configured to permit traffic between Azure Firewall, Azure DNS Private Resolver, and you're on-premises DNS servers.
- When setting up Azure Private DNS zones, make sure they do not overlap with Microsoft-owned domains to prevent any disruptions.
Kindly check the below document for more understanding:
https://learn.microsoft.com/en-us/azure/dns/private-resolver-hybrid-dns#hybrid-dns-resolution
https://learn.microsoft.com/en-us/azure/dns/dns-private-resolver-overview
Hope the above answer helps! Please let us know do you have any further queries.
Please do not forget to "accept answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.