Why does Azure Firewall need DNS proxy for FQDN network rules?
AdvancedConceptNetworking
Answer
Network rules with FQDNs work by resolving the FQDN on the firewall. If the client resolves the same name with a different DNS server it may get a different IP (CDNs rotate), and the firewall drops the flow because its resolved IP set does not match.
Enabling DNS proxy on the firewall and pointing the VNet's DNS servers at the firewall's private IP makes client and firewall resolution identical. Application rules (HTTP/S) don't have this problem because they inspect the SNI/Host header.
More on Networking
What is a VNet and how does it compare to an AWS VPC?BeginnerHow many IP addresses does Azure reserve in each subnet?BeginnerWhat is a Network Security Group and how are its rules evaluated?BeginnerIf an NSG is on both the subnet and the NIC, how is traffic evaluated?AdvancedWhat are service tags and why use them in NSG rules?BeginnerWhat is an Application Security Group (ASG)?Intermediate