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.

WHM dns system creates faulty SOA record entry.

Discussion in 'Bind / DNS / Nameserver Issues' started by jols, Mar 22, 2013.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    This has been occurring for, well, just about forever and I have never received any decent response of how to fix this issue.

    If you open a new account, or just add a new dns zone, the cpanel system will take the email address that I set up as the main contact email address for the server, and simply remove the @ symbol, replacing this with a dot, then use this as a (faulty) SOA record.

    For example, if I enter the following email address as the contact email address for the server, i.e. the one I want to use from which to receive server alerts:

    alert22@mydomain.com

    Then the cPanel system will create an SOA record like this:

    alert22.mydomain.com

    Which will never work because #1, mydomain.com is not even hosted on this same server. And #2, there is no such subdomain (alert22) that has been established for this domain.

    Now, I supposed I could set up another email address, that is locally based, then establish a new subdomain for that domain, then forward the email, etc. etc. etc. but sheesh! Why would cPanel design such a system that is faulty in this regard, right-out-of-the-box? I hope I am just missing something easy here, like perhaps some field in WHM where I forget to enter which SOL subdomain.domain.com I want to use.

    Anyone?

    Thanks much.
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    It's not faulty, it's exactly as the mail address in the SOA record is supposed to be.
    See here:
    Chapter 8 - SOA Record
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    That's all fine and dandy as long as one does not use an off-server email address in:

    WHM ---> Basic cPanel & WHM Setup ---> * Enter one or more email addresses to contact in case a problem arises with this server.

    I guess I should have known somehow that this was supposed to be an email address based on the same server???
     
  4. LDHosting

    LDHosting Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    93
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    The email account doesn't need to be hosted on the same server. What quietFinn says is correct, replacing the @ with a . in the RNAME field in the zone file is the correct way to do it.

    If you wanted to use the email "mydns@gmail.com" then it would need to be entered as "mydns.gmail.com".

    You can see more information about each of the SOA values, including the RNAME value at the link below:

    Recommendations for DNS SOA Values — RIPE Network Coordination Centre
     
  5. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    You can define the mail address WHM uses when you Add a DNS Zone or Create a New Account in the Zone templates:
    WHM-> DNS Functions-> Edit Zone templates
     
Loading...

Share This Page