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!

Edit DNS template

Discussion in 'Bind/DNS/Nameserver' started by fate12, Mar 21, 2017.

  1. fate12

    fate12 Active Member

    Joined:
    Oct 29, 2013
    Messages:
    41
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I try to change our servers DNS templates because it standard points mail.domain with a Cname record to domein.com and MX points to domain.com.

    If a client changes the IP for his domain he now also changes the mail preference without realising.

    So I change the mail record to a A record pointing to the servers domain.
    But how do I correct change the MX record?

    Can someone from Cpanel confirm this is correct?

    %domain%. IN MX 0 mail.%domain%

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    That's correct, however you need the period at the end:

    Code:
    %domain%. IN MX 0 mail.%domain%.
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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