To resolve on-premises hosts from Azure using the Private DNS Resolver, ensure that the following configurations are correctly set up:
- Outbound Endpoint: Verify that your outbound endpoint is correctly configured and associated with the forwarding ruleset for your on-premises domain. This ruleset should specify the IP addresses of your on-premises DNS servers.
- Forwarding Ruleset: Check that the forwarding ruleset includes a rule for your on-premises domain (e.g.,
contoso.com) and that it is enabled. The destination IP address in the rule should point to your on-premises DNS server. - Network Connectivity: Ensure that there is proper network connectivity between your Azure virtual network and your on-premises network. This may involve checking VPN or ExpressRoute configurations if applicable.
- DNS Settings: Make sure that your Azure resources (such as VMs) are configured to use the Private DNS Resolver for DNS queries. You should not change the DNS settings for your virtual network to use the inbound endpoint IP address directly; instead, leave the default DNS settings.
- Testing: You can test the resolution by issuing a DNS query from an Azure VM for a record in your on-premises domain. If the configuration is correct, it should resolve successfully.
If you have checked all these configurations and are still facing issues, consider reviewing the logs for any errors or reaching out to Azure support for further assistance.
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.