Using domain names instead of IP addresses for internal network resources is a best practice. This ensures that resources can be easily identified and accessed inside the network. To work with these domain names outside the network a DNS forwarder should be used. In cases where a point-to-site or site-to-site VPN connection is established, this is necessary. When working in Azure, a typical solution would be to spin up a VM or Container Instance and use DNS forwarder image. The downside of this approach is that you’ll need to manage that VM. Azure offers the Private DNS Resolver a fully managed service to resolve Private DNS Zones outside the VNET.
In this article, I’ll explain how you can use Private DNS Resolver to work with Private DNS Zones in a multi-cloud environment.