An administrator is configuring a single Azure Application Gateway v2 in a hub virtual network named VNet-Hub. The backend pool of the Application Gateway is configured to use the fully qualified domain names (FQDNs) web1.private.contoso.com and web2.private.contoso.com of two web servers.
The web servers are deployed in a spoke virtual network named VNet-Spoke1, which is peered with VNet-Hub using default peering settings. A private DNS zone named private.contoso.com contains the host records for the web servers and is linked to VNet-Spoke1.
The administrator notices that the backend health status for the servers is reported as Unhealthy due to a DNS resolution error.
What should the administrator do to ensure the Application Gateway can successfully resolve the FQDNs of the backend servers?
- AEnable gateway transit on the virtual network peering from the hub virtual network to the spoke virtual network.
- BAdd an inbound security rule to the Network Security Group of the Application Gateway subnet to allow traffic on UDP port with a priority of .
- Link the private DNS zone to the hub virtual network.Answer
- DAssociate a route table to the Application Gateway subnet with a user-defined route for the DNS service IP address directing traffic to a Virtual Network Gateway.