Hello Colin Loh (Admin - Versent)
Greetings!
Azure Private DNS to enable fallback to internet recursion when an authoritative NXDOMAIN response is received for a Private Link zone. NXDOMAIN is also known as a negative response. When a DNS resolver receives (or has cached) a negative response, it sends no DNS response to the DNS client and the query fails.
Check the reference doc:
https://learn.microsoft.com/en-us/azure/dns/private-dns-fallback
You can configure Azure Firewall to act as a DNS proxy. A DNS proxy is an intermediary for DNS requests from client virtual machines to a DNS server.
If you want to enable FQDN (fully qualified domain name) filtering in network rules, enable DNS proxy and update the virtual machine configuration to use the firewall as a DNS proxy.
DNS proxy configuration using a custom DNS server.
If you enable FQDN filtering in network rules, and you don't configure client virtual machines to use the firewall as a DNS proxy, then DNS requests from these clients might travel to a DNS server at a different time or return a different response compared to that of the firewall. It’s recommended to configure client virtual machines to use the Azure Firewall as their DNS proxy. This puts Azure Firewall in the path of the client requests to avoid inconsistency.
Check the reference doc:
https://learn.microsoft.com/en-us/azure/firewall/fqdn-filtering-network-rules
Suggestions:
- You can use Firewall Application Rules to explicitly deny traffic for (googleapis.com) based on specific source VNets.
- If you want to resolve this (googleapis.com) over public endpoints in the future, you can create a UDR on the source VNets/subnets to direct the traffic over the internet gateway as the next hop instead of the Azure firewall private IP. This way, only specific destination IPs can go over the internet, but the issue is that we need to mention the IP instead of the domain name.
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.