Author Topic: rDNS/PTR Failed for hostname  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
rDNS/PTR Failed for hostname
« on: July 28, 2017, 01:50:09 PM »
I have an issue with rDNS/PTR in CWP.
When I go to Server Settings -> Change Hostname, or Email -> MailServer Manager, I receive the follow message:

Your Hostname is: srv1.mydomain.com and it resolves to IP: mydomain.com. 10.20.30.40 [Check Black List]
rDNS/PTR = FAILED, check with your hosting provider! FAILED [Check SenderBase]


(domain name and IP changed)

When I check my DNS records for mydomain.com (DNS Functions -> List DNS Zones -> [mydomain.com.db] Check Records), I get this result:

rDNS/PTR record check: SUCCESS
rDNS/PTR = srv1.mydomain.com
rDNS A record = 10.20.30.40 [Check SenderBase] [Check RBL]



The content of mydomain.com.db (domain name and ip changed):

Code: [Select]
; Panel %version%
; Zone file for mydomain.com
$TTL 14400
mydomain.com.      86400        IN      SOA     ns1.mydomain.com. user.email.com. (
         2013071601      ; serial, todays date+todays
                86400           ; refresh, seconds
          7200            ; retry, seconds
            3600000         ; expire, seconds
           86400 )         ; minimum, seconds

mydomain.com. 86400 IN NS ns1.mydomain.com.
mydomain.com. 86400 IN NS ns2.mydomain.com.

mydomain.com. IN A 10.20.30.40
srv1.mydomain.com. IN A 10.20.30.40

localhost.mydomain.com. IN A 127.0.0.1

mydomain.com. IN MX 0 srv1.mydomain.com.

www IN CNAME mydomain.com.
ftp IN CNAME mydomain.com.

; Add additional settings below this line
default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=MIGf..."

ns1     14400   IN      A       10.20.30.40
ns2     14400   IN      A       20.30.40.50

mydomain.com. IN TXT "v=spf1 mx a"
_dmarc.mydomain.com. IN TXT "v=DMARC1; p=none; rua=mailto:webmaster@mydomain.com"


Finally, cat /etc/hostname results in:
srv1.mydomain.com

There are something wrong in my dns configuration?
« Last Edit: July 28, 2017, 02:07:32 PM by Jefferson Felix »

Offline
*
Re: rDNS/PTR Failed for hostname
« Reply #1 on: July 28, 2017, 05:16:11 PM »
Problem solved.
My ns2 was out.
I restarted ns2, reloaded dns and it's all OK.