How do I set up reverse DNS (PTR) for my IP addresses?
How to request reverse DNS (a PTR record) for your dedicated server's IP addresses: with a ticket stating the IP address and hostname.
By Hermie Updated
You request reverse DNS (a PTR record) for your IP addresses from support. Open a ticket with the IP address and the hostname you want.
What do you need it for?
A PTR record links an IP address to a hostname. The reverse of an A or AAAA record, in other words. Mail servers in particular look at it: a mail server without matching reverse DNS ends up in spam more easily.
What you need
- The IP address, IPv4 or IPv6.
- The hostname, for example
mail.yourdomain.com.
Point the hostname at the IP address too
Make sure the hostname itself has an A record (IPv4) or AAAA record (IPv6) pointing to the same IP address. Many mail servers check that both sides match.
Request
- Open a ticket.
- List the desired hostname for each IP address, for example:
203.0.113.10becomesmail.yourdomain.com
- Support sets up the PTR record and lets you know.
Check
Look up the PTR record with:
- Linux or macOS:
dig -x <ip-address> +short - Windows:
nslookup <ip-address>
You then see the hostname that belongs to the address. Still seeing the old name? Wait a while: resolvers can remember the old answer for some time.
Did this article help you?
Related articles
Can I connect my servers through a private VLAN?
How to connect your dedicated servers through an extra VLAN, including to a VPS with an extra network card. You arrange it through support.
How is my dedicated server's traffic billed?
How the commit on your dedicated server works: a fixed, capped port speed or the 95th percentile with a commit, arranged through sales.
How do I get access to IPMI on my dedicated server?
How to request IPMI, iDRAC or iLO for your dedicated server and reach the management interface through our WireGuard VPN.
How do I have my dedicated server reinstalled?
How to have your dedicated server reinstalled through support: make a backup first, provide your SSH key and then log in.