Hey everyone!
I'm having trouble with the deployment of App Gateway Standard SKU v2. The App Gateway is set up in a spoke VNet, while I have my Key Vault's private endpoint linked to the hub's Private DNS Zone. I've confirmed that both VNets are correctly linked and the DNS resolution is working, pointing to the appropriate private IP address.
Currently, I've directed the DNS server setting of the spoke VNet to the Azure Firewall's private IP address, and I've made sure the App Gateway's subnet can access the internet. If anyone has insights or suggestions on how to resolve this issue, I'd really appreciate your help!
5 Answers
Pointing the VNet DNS to Azure Firewall will only work if it’s set up as a DNS Proxy. As another user suggested, link the Private Link DNS zone (for the Key Vault) to both the hub and spoke VNets. Alternatively, create a separate Private Link DNS zone for the Key Vault linked to the spoke VNet and include a record for its private endpoint.
What exactly is the problem you're encountering? Are you struggling to select the Key Vault in the HTTPS listener because it's not showing up?
Make sure your Private DNS Zone is linked to the spoke where the App Gateway is located so that the VNet can resolve the Key Vault's location.
You really need to have a Private DNS zone for the Key Vault with the correct record and link it to the VNet where your App Gateway is situated. This is critical even if your initial DNS setup looks good since the App Gateway often handles DNS differently.
It sounds like the Azure Firewall isn't actually able to resolve DNS. Why did you configure the spoke VNet's DNS settings to point at the firewall? Maybe try using the Azure-provided DNS instead in the spoke? Also, make sure the Private DNS Zone is linked to both VNets, but especially the spoke. And just to confirm, are your VNets peered? If you have another device in the spoke, like a VM, try resolving the Key Vault IP from there to see if it works.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads