• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Email Deliverability / Reverse DNS (PTR) for VPS

    Hi,

    I was wondering if anyone with a VPS and properly configured DKIM and SPF records has successfully managed to avoid getting the Reverse DNS (PTR) error messages similar to the following within Cpanel's Email Deliverability:

     

    The system uses an alternate HELO of “s111-111-111-111.secureserver.net” when sending mail from the “mydomain.com” domain.

    The system sends this domain’s outgoing mail from a private IP address, “99.999.99.99”. Reverse DNS does not work with private IP addresses because DNS does not store PTR records for them.

    The server may be misconfigured. For more information, contact your system administrator.

     

    Much appreciated in advance!

     

    Darren

    3 REPLIES 3

    Re: Email Deliverability / Reverse DNS (PTR) for VPS

    I am having the same problem with my email deliverability.

     

    I went to cPanel and tried the following which did not work:

     

    Can you confirm if the /var/cpanel/cpnat file exists on this server? You can check by executing the following command while logged in via SSH (Terminal) as root:

    Code:
    cat /var/cpanel/cpnat

    If the file exists and is setup properly, the output of the above command should display the private IP address and public IP address on a single line. If it does not exist, run the following command to automatically populate this file with the correct IP addresses:

    Code:
    /usr/local/cpanel/scripts/build_cpnat

     

    Has anyone solved this problem?  

    My emails are not being delivered from my website.  I fixed everything but the part about emails being sent from a private IP address.

     

    Thanks,

    Steve

    Re: Email Deliverability / Reverse DNS (PTR) for VPS

    Has anyone found a solution to this?  

     

    I am getting this on a new CentOS 7 server.  I am in the midst of migrating my domains from my existing CentOS 6 server.  

     

    Interestingly, on the CentOS 6 server (which I have been using for several years), the PTR message for a domain shows a different error:

     

    The system sends “nehoiden.info”’s outgoing email from the “192.169.236.229” IP address. The only PTR value for this IP address must be “nehoiden.secureserver.net”. This is the name that this server sends with SMTP’s “HELO” command to send “nehoiden.info”’s outgoing email.

    1 unexpected PTR value exists for this IP address:

    • ip-192-169-236-229.ip.secureserver.net

    To fix this problem, contact your system administrator and request that they replace all PTR records for “229.236.169.192.in-addr.arpa” with the following record at “cns1.secureserver.net” and “cns2.secureserver.net”:

    Suggested “PTR” (PTR) Record PTR
    Name: 229.236.169.192.in-addr.arpa.
    Value: nehoiden.secureserver.net.
     

    Re: Email Deliverability / Reverse DNS (PTR) for VPS

    I have not solved this yet.  In my WHM the A record for the server is a private IP address and I've not figured out how to change it to the IP address of the server.  I think that is where the problem is.

     

    Also, my email goes out from my websites.  It is often rejected by Outlook servers.  It goes through to gmail OK.  So I think the reverse DNS problem does block the emails from getting to some accounts.

     

    All the best,
    Steve