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.

DNS point mail to Server A, site to Sever B

Discussion in 'Bind / DNS / Nameserver Issues' started by Daniel Boris, Nov 10, 2015.

  1. Daniel Boris

    Daniel Boris Member

    Joined:
    Sep 29, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Montpellier
    cPanel Access Level:
    Root Administrator
    Hi Y'all,

    I need to point emails of a domain name "example.com" to 123.456.xxx.xx and the website to 098.765.xxx.xx given that I am using a nameserver that is independent of Server A and Server B.

    Is this correct?
    Code:
    example.com. 14400 NS 0 dns200.anycast.me.
    example.com. 14400 NS 0 ns200.anycast.me.
    mx1.example.com 14400 MX 0 mail.example.com.
    mx2.example.com 14400 MX 10 mail.example.com.
    example.com 14400 A 098.765.xxx.xx
    mail.example.com 14400 A 123.456.xxx.xx
    mail.example.com 14400 CNAME mail.example.com.
    pop3.example.com 14400 CNAME mail.example.com.
    smtp.example.com 14400 CNAME mail.example.com.
    imap.example.com 14400 CNAME mail.example.com.
    www.example.com 14400 CNAME example.com.
    
    I need to be sure before I engage anything.
     
  2. Daniel Boris

    Daniel Boris Member

    Joined:
    Sep 29, 2015
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Montpellier
    cPanel Access Level:
    Root Administrator
    Also another question:
    given that mails from example.com and anotherexample.com point to 123.456.xxx.xx (where WHM & cPanel are installed) and the reverse dns (PTR) of 123.456.xxx.xx resolve to anotherexample.com, will this cause any problems for example.com e-mails?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,787
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You need to add the MX record for "example.com" itself. Some mail servers may detect the RDNS mismatch, so it's important for RDNS to match the mail server name.

    Thank you.
     
Loading...

Share This Page