An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
HI @ Gomolemo,
Welcome to Microsoft Q&A Platform.
Azure VMs cannot resolve on-prem DNS names because the outbound DNS forwarding path is not fully configured. Per Microsoft’s “Traffic flow for a VM DNS query via DNS Private Resolver,” Azure DNS only forwards a query to the outbound endpoint when a forwarding rule exists, the ruleset is linked to the VNet, and the outbound subnet can reach the on-prem DNS servers.
After configuring the forwarding rule, VNet link, and ensuring connectivity (UDP/TCP 53) to on-prem DNS, Azure VMs will resolve on-prem names successfully.
After completing all the steps make sure to restart the VM and test the connectivity.
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.