Traffic Manager MX Record

Phil 6 Reputation points
2022-07-13T06:37:19.53+00:00

I'd like to use Traffic Manager for an application which also requires an MX record for the same FQDN.

Web traffic will use https://myapp.customerdomain.com and we will also handle email such as user@tanjian .customerdomain.com.

https://serverfault.com/a/29323/75499 an answer here suggests that this is possible but requires that the load balancer holds an MX record for email. I can't see any way to achieve this using Azure Traffic Manager. Is this possible?

Edit: The same question also applies to TXT records which RFC1034 appears to prohibit.

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
{count} vote

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 36,861 Reputation points Microsoft Employee
    2022-07-13T18:25:39.017+00:00

    Hi @Phil ,

    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 we can add a MX record in Traffic Manager.

    • Please note that Traffic Manager is a DNS-based Load Balancer
    • It only points the requests to different endPoints depending on the routing mechanism configured
    • The traffic never passes through Traffic Manager
    • Refer: https://learn.microsoft.com/en-us/azure/traffic-manager/traffic-manager-how-it-works
    • Now, Traffic Manager does not have any mechanism to manage DNS Zone/Records . This is by design
    • Let's say your application is myapp.customerdomain.com and you have created a CNAME to make it point to Traffic Manager Profile (myapp.trafficmanager.net)
    • So, if your requirement is to have an MX record configured on myapp.trafficmanager.net, I am afraid that this is not feasible.

    Kindly let me know if there are any follow-up questions, I shall try my best to address them.

    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.

    2 people found this answer helpful.