Enable Azure firewall DNS proxy with custom DNS + APIM

Chanaka Nissanka 71 Reputation points
2022-07-20T05:33:23.297+00:00

Hi MS support,
we need to check your recommendation on enabling Azure Firewall DNS proxy where custom DNS is used. We have HUB and Spoke model where APIM is used in spoke connecting to another public cloud provider via Azure Firewall(API calls). As per the documentation we have to enable and point AZ FW DNS IP as custom DNS forwarder. VNET DNS settings to AZ FW private IP. Is this the case or just default Azure DNS at DNS proxy is suffice given there is no VM involved. Reason for this configuration is to make use of FQDNs in network rules and what impact will it have in either cases ?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,913 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
600 questions
Azure Firewall Manager
Azure Firewall Manager
An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
88 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. msrini-MSFT 9,271 Reputation points Microsoft Employee
    2022-07-20T05:53:26.533+00:00

    Hi,

    You will need to perform 2 steps:

    1. Setup DNS proxy in Azure Firewall settings
    2. Set the Firewall's Private IP as DNS server in the VNET settings, so that the resources (VMs) will send the DNS query to Firewall.

    Reference: https://video2.skills-academy.com/en-us/azure/firewall/dns-settings

    Regards,
    Karthik Srinivas

    0 comments No comments

  2. Chanaka Nissanka 71 Reputation points
    2022-07-20T06:36:44.647+00:00

    Hi Karthink,
    Thanks for the reply. But this is not what we are after and we have gone through that link multiple times. If we have VMs with our Spoke this would 101% work. But in our case we have API manger+ Event hub rely on VNET DNS settings. As per documentation we need to do those two things mentioned. what we want to know
    1.) Does this set up is the recommend when it comes to APIM where it rely purely on VNET DNS settings ?
    2.) what impact it will have if we just enable DNS proxy with default Azure DNS keeping spoke DNS as it is which is custom DNS