The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Edit DNS template

Discussion in 'Bind / DNS / Nameserver Issues' 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:
    37,204
    Likes Received:
    1,297
    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.
     
Loading...

Share This Page