You have an Azure virtual network named Vnet1 that hosts an Azure firewall named FW1 and 150 virtual machines. Vnet1 is linked to a private DNS zone named contoso.com. All the virtual machines have their name registered in the contoso.com zone.
Vnet1 connects to an on-premises datacenter by using ExpressRoute.
You need to ensure that on-premises DNS servers can resolve the names in the contoso.com zone.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Show answerHide answer
Correct answer: A, D
On the on-premises DNS servers, configure forwarders that point to the frontend IP address of FW1. For FW1, enable DNS proxy.
Explanation
Explanation:This question tests integrating on-premises DNS resolution with Azure Private DNS zones. The core challenge is allowing on-premises servers to resolve names in the private zone contoso.com, which is only natively accessible from the linked virtual network (Vnet1). The Azure Firewall's DNS proxy feature, combined with proper forwarding, bridges this connectivity gap.
Correct Option:
D. For FW1, enable DNS proxy.
This is the foundational step. Enabling DNS proxy on the firewall allows it to intercept DNS queries from sources (like on-premises forwarders) and forward them to the Azure-provided DNS service (168.63.129.16), which can resolve names in the privately linked zone contoso.com.
A. On the on-premises DNS servers, configure forwarders that point to the frontend IP address of FW1.
Once the firewall's DNS proxy is active, on-premises DNS servers must be configured to forward queries for the contoso.com domain to the firewall's private IP address. The firewall then proxies these queries to Azure's DNS.
Incorrect Option:
B. On the on-premises DNS servers, configure forwarders that point to the Azure provided DNS service at 168.63.129.16.
The IP 168.63.129.16 is a virtual Azure metadata service IP that is only reachable from within an Azure virtual network. It is not accessible from on-premises over ExpressRoute.
C. Modify the DNS server settings of Vnet1.
Changing Vnet1's DNS server setting (e.g., to a custom server) affects the DNS resolution for the VMs within Vnet1, not the on-premises servers. The problem is about on-premises resolution.
E. For FW1, configure a custom DNS server.
Configuring a custom DNS server on the firewall tells it where to forward queries it intercepts. However, the default/correct destination for resolving Azure Private DNS zones is the Azure-provided DNS (168.63.129.16). This action is not the primary requirement; enabling the proxy (D) is essential first, and the default configuration often works without a custom setting.
Reference:
Microsoft Learn - Configure DNS settings for Azure Firewall and Azure Private DNS hybrid resolution. The documentation specifies using the firewall's DNS proxy to enable hybrid resolution for private zones.








