Hi @ares,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
You can use Azure Private Resolver to query the Active Directory DNS on-premises for domain join and future queries. This is possible because Azure Private Resolver allows you to configure hybrid DNS resolution, which enables you to forward DNS queries from Azure to your on -premises DNS servers and vice versa.
Here are the steps you can follow to achieve that:
Configure Azure Private Resolver
- Create an Azure DNS Private Resolver
- Create a virtual network link in the zone to the virtual network where you deploy your Azure DNS Private Resolver
- Create a DNS forwarding ruleset in the same region as your private resolver
Configure On-Premises DNS Conditional Forwarders
- Configure on-premises DNS conditional forwarders to forward queries to the Azure DNS Private Resolver
Join Azure VM to Active Directory Domain
- Join the Azure VM to the Active Directory domain using the Azure DNS Private Resolver to query the Active Directory DNS on-premises
Note that you need to ensure that your ExpressRoute connection is properly configured to allow communication between your on-premises network and Azure.
For reference: https://learn.microsoft.com/en-us/azure/dns/private-resolver-hybrid-dns
Kindly let us know if the above helps or you need further assistance on this issue.
If the answer is helpful, please click "Accept Answer" and "Upvote it" so that other community members can find the right answers.
Thanks,
Sai Prasanna.