Skip to main content

Why are MX records defined as CNAME in zone templates?

Comments

4 comments

  • cPanelMichael
    Hello, cPanel uses the "MX" record type by default. EX:
    cptest01.tld. 14400 IN MX 0 cptest01.tld.
    A "CNAME" record type would look like this:
    cptest01.tld. 14400 IN CNAME 0 cptest01.tld.
    Could you verify if the hostname referenced in your MX record resolves to a valid IP address? What's the exact warning message you receive in your email checker utility? Thank you.
    0
  • Harikalar Kutusu
    Sorry, I already modified the records yesterday and cannot get the exact warning. The old setting was like this:
    mydomain.org. 14400 IN MX 0 mydomain.org mail 14400 IN CNAME mydomain.org
    Now I changed them to this:
    mydomain.org. 14400 IN MX 0 mydomain.org mail 14400 IN A 123.123.123.123
    The tools on the Internet do not complain anymore... Let me try to revert a spare domain...
    0
  • cPanelMichael
    Hello, The change you made is acceptable, however either entry will work. By leaving the "mail" entry as a CNAME for "mydomain.org", you ensure that subdomain always resolves to the same IP address as "mydomain.org". We document the DNS record types at: Advanced Zone Editor - Documentation - cPanel Documentation Thank you.
    0
  • Harikalar Kutusu
    I tested with a spare domain but could not replicate the results. I think it was a general DNS issue with my new server. Case closed :) Thank you again...
    0

Please sign in to leave a comment.