Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users! - CNAME or A record ?

Discussion in 'E-mail Discussion' started by oprock, Mar 17, 2008.

  1. oprock

    oprock Member

    Mar 26, 2006
    Likes Received:
    Trophy Points:

    i notice when cpanel created account in dns zone, the mail record ( is under CNAME.

    i notice sometime the record just not being responsive to the ping at all but when i change from cname to A record it ping perfectly.

    can someone tell me why this is happening and should i modify dns zone template to put Mail record under A record not CNAME?

  2. rpmws

    rpmws Well-Known Member

    Aug 14, 2001
    Likes Received:
    Trophy Points:
    back woods of NC, USA
    any service listening on the server to an IP like , a service like ping will respond as long as the dns resolves the domain to that IP. you would want to test to see if you were getting a dns responce for the CNAME as well ad the A record and if they were the same IP. If they were the same IP they will both ping.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ReiJu

    ReiJu Well-Known Member

    Mar 14, 2008
    Likes Received:
    Trophy Points:
    This is just my thoughts.

    I use CNAME in DNS records just when I worried if the target IP someday will change. Just like my domain that pointed to my account in blogspot (my domain is CNAME-ed to I know not when will change it's IP, so for simplicity I just set my domain as a CNAME to When ghs's IP changed, there's no necessity for me to change my domain's DNS record, it will follow the new value automagically.

    But this have a lot of disadvantages. One of them is the lookup process surely needs more than one step. First it needs to know where one domain points to, and then it needs to know where the CNAME points to, and so on and so on.

    In my case, the lookup process needs at least 3 steps to complete. First, it needs to resolve that my domain is CNAME-ed to Second it needs to resolve that is CNAME-ed to Third it needs to resolve the IP of When all is done, then the connection can be started.

    That's just the same with MX records.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice