How Do VMs in Azure Forward DNS Queries to Private DNS Servers?

0
72
Asked By CuriousTechie42 On

I'm trying to figure out how DNS queries are handled once VMware solutions are deployed in Azure. Specifically, how do the virtual machines forward these DNS queries to a private DNS server? Any help would be appreciated!

3 Answers

Answered By NetNinja88 On

You're on the right track! When a VM makes a DNS request, it usually goes through the NSX-T DNS service first. The NSX-T Gateway forwards those queries to either the Azure Private Resolver or an internal DNS server, depending on your configuration. If you're using Gen2 architecture, this should be handled smoothly.

CloudySkies23 -

If everything is running in Azure and NSX-T can do conditional forwarding already, you might not even need the Private Resolver in the first place.

Answered By AzureGuru101 On

A few key points for DNS resolution in Azure:
- To resolve an Azure resource IP, you need a private DNS zone and for the DNS query to hit the Azure WireServer Virtual IP (168.63.129.16).
- For on-premise IPs, make sure your DNS queries reach your on-premise DNS resolvers.
The Private DNS Resolver connects everything: you can create rules for specific domains to direct queries to the right resolvers.

TechieTalks77 -

I've noticed that when deploying LDAP integration on AVS-based vCenter, DNS queries sometimes time out for certain IP ranges. We use a hub-spoke model with AVS and AD in separate spokes, and I've seen queries coming from the NSX-T DNS service but failing to resolve.

Answered By CloudySkies23 On

It sounds like you might need an Azure DNS Private Resolver. The typical flow goes like this: the VM sends a DNS request to the NSX-T DNS Service, which then forwards the query to the Azure DNS Private Resolver. From there, it can either resolve to an Azure Private DNS Zone or go out to public DNS. Just make sure to set up proper rules for it!

TechieTalks77 -

Exactly! The Outbound endpoint in the Private Resolver decides where to send those queries based on the linked rules.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.