reverse dns

Webfoundry

Verified User
Joined
May 23, 2014
Messages
51
Location
Leuven, Belgium
Hi all,

It seems that all mails sent from accounts on my server end up in gmails spam folder.
I found out no PTR record were made for my primary domain (in DA DNS Administration this would be server.webfoundry-hosting.be on IP 178.79.130.161 wich is on linode.com).

I followed all steps in http://help.directadmin.com/item.php?id=21

The line I added to DNS Administration is :
161.130.79.178.in-addr.arpa. PTR webfoundry-hosting.be.

dig SOA -x 178.79.130.161 :

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.5 <<>> SOA -x 178.79.130.161
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54579
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;161.130.79.178.in-addr.arpa. IN SOA

;; AUTHORITY SECTION:
130.79.178.in-addr.arpa. 86400 IN SOA ns1.linode.com. dns.linode.com. 2015122409 7200 3600 604800 86400

;; Query time: 1 msec
;; SERVER: 109.74.194.20#53(109.74.194.20)
;; WHEN: Thu Dec 24 15:33:43 2015
;; MSG SIZE rcvd: 99

dig -x 178.79.130.161

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.5 <<>> -x 178.79.130.161
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4244
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0

;; QUESTION SECTION:
;161.130.79.178.in-addr.arpa. IN PTR

;; ANSWER SECTION:
161.130.79.178.in-addr.arpa. 86400 IN PTR server.webfoundry-hosting.be.

;; AUTHORITY SECTION:
130.79.178.in-addr.arpa. 86400 IN NS ns5.linode.com.
130.79.178.in-addr.arpa. 86400 IN NS ns3.linode.com.
130.79.178.in-addr.arpa. 86400 IN NS ns1.linode.com.
130.79.178.in-addr.arpa. 86400 IN NS ns4.linode.com.
130.79.178.in-addr.arpa. 86400 IN NS ns2.linode.com.

;; Query time: 111 msec
;; SERVER: 109.74.194.20#53(109.74.194.20)
;; WHEN: Thu Dec 24 15:40:22 2015
;; MSG SIZE rcvd: 187

Can anyone point out what I'm doing wrong or I'm missing ?

All help appreciated,
Sixten
 
Just to add :

I would like ALL domains on this server to pass gmails spamfolder :)
Do I need to add PTR records for all these domains to match ?
 
Its no problem that you have "server" in the hostname. To me it looks like your reverse dns is correct. However, there is other errors you should fix, please look at the result in intodns.com:

http://www.intodns.com/webfoundry-hosting.be

Among others there is duplicate mx records, you should delete the one that is not used.

Also you have several name servers in dns wich are not registered for the domain at the domain registrar, you should add those to the domain at the domain registrar.

Regarding your email that is going to spam, if you recently added reverse dns at linode, it could be that it takes longer time before dns to propagate. It could take 24 hours.

If not that, maybe your duplicate mx record is the reason, I am not sure. But you should fix those things.

Also make sure that your ip 178.79.130.161 is listed in your spf record for your domains.

When all errors in dns is fixed, and if you still have problems with email going to spam. I would recommend that you add DKIM to your domains: http://help.directadmin.com/item.php?id=569
 
Back
Top