Need help setting the PTR record

DanielT

Verified User
Joined
Apr 21, 2021
Messages
11
Hi there, we hired a VPS with direct admin, our app is already running but the mails go always to spam folder, if I understand this correctly the lack of reverse DNS can cause this problem.

Anyways, this is the zone we created

Code:
$TTL 3600
@       IN      SOA     ns1.mydomain.com.      root.server.mydomain.com. (
                                                2021042100
                                                3600
                                                3600
                                                1209600
                                                86400 )

230.11.80.198.in-addr.arpa.     3600    IN      NS      ns1.mydomain.com.
230.11.80.198.in-addr.arpa.     3600    IN      NS      ns2.mydomain.com.
230.11.80.198.in-addr.arpa.     3600    IN      PTR     server.mydomain.com.

Our dedicated IP being 198.80.11.230

File is /etc/bind/230.11.80.198.in-addr.arpa.db

The zone is referenced in /etc/bind/named.conf
Code:
zone "230.11.80.198.in-addr.arpa" { type master; file "/etc/bind/230.11.80.198.in-addr.arpa.db"; };

OS is Debian 10.

The emails keep going to spam and when I check the IP with online tools they say the reverse DNS is not set.

What are we doing wrong?

I would prefer to not publicly post the real ip and domain but I can pm them to your guys if you think it's necessary.

Thanks in advance.
 
Most datacenter not allow to edit reverse ip by yourself.
so.. You need to contact your datacenter to have change it.

You can check currenly record from your ip by
Code:
dig -x 198.80.11.230 +noall +answer
 
Back
Top