How to create ipv4 or ipv6 PTR record for dedicated server in the Hetzner company?
If your emails going into SPAM and mail servers said that your email sent from server which have no PTR record then this article is for you!
STEPS for ipv4 IP address:
Check your Ipv4 IP address PTR record here https://www.whatsmydns.net/#PTR/ or here https://www.whatsmydns.net/dns-lookup/ptr-records. Usually PTR record for ipv4 created automatically by Hosting provider ( Hetzner in this case ). If not you can ask support to give you right reverseDNS value for ipv4 PTR record.
STEPS for ipv6 IP address:
- Go to here https://www.whatsmydns.net/dns-lookup/ptr-records and generate Ipv6 PTR reverseDNS value for PTR record. Just paste your full Ipv6 address and copy generated reverseDNS value for PTR record something like this ( example: 18.104.22.168.0.0.0.0.0.0.0.0.0.0.0.0.22.214.171.124.a.0.1.0.8.f.126.96.36.199.a.2.ip6.arpa )
- Go to Robot Panel of Hetzner or other provider and insert Ipv6 IP address and value in special fields or ask support to do it for you. In Hetzner in Robot you need to go to https://robot.hetzner.com/server
- Select server that you want to change and open Ips tab
- Scroll down where is Ipv6 records located
- Click to Add new Reverse DNS entry and enter your Ipv6 IP address and generated value on step 1
- Click to CREATE
Now you have created Ipv6 REVERSE DNS record named PTR for your dedicated server and mail servers must recognize your server as Known