@Lucas ,
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
I understand that you would like to know if you could use two Azure DNS Zones under different Azure tenants.
Azure does support co-hosting.
- Provided your registrar also supports it.
- The document talks about co-hosting domains with other DNS services, and hence I believe this should work with 2 DNS Zones in 2 different Tenants.
However, I would not recommend this. Because,
- This requires DNS records for the domain are in sync between both DNS providers.
- DNS records must be synchronized by using either the Azure DNS management portal, REST API, SDK, PowerShell cmdlets, or the CLI tool which adds to management overhead.
- Also, you have to delegate your domain to all four Azure DNS name servers from each Zone to qualify for the Azure DNS SLA.
- This means, your Registrar should support up to 8 Name servers.
I see your requirement is to make resources in a different subscription leverage the DNS Zone in the main subscription.
- I take it that you are primarily interested in using Custom Domains.
- Most of the PaaS Services support having the Domain completely third party.
- In your example, AFD, you can always use the "All other DNS Services" option.
- i.e., in the subscription where the DNS Zone resides, you can use "Azure Managed" and in the other subscriptions, you may use "All other DNS Services" option.
- Then you can continue to validate the TXT record as mentioned in the doc.
NOTE :
- If your intention is to use the same FQDN, such as "test.contoso.com" for two AFD Profiles, it won't be feasible irrespective of the DNS service you use.
- You may use "test1.contoso.com" for one profile and "test2.contoso.com" for another profile.
Kindly let us know if this helps or you need further assistance on this issue.
Thanks,
Kapil
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.