A PTR record maps an IP address back to a hostname, which is the reverse of what an A record does. Mailbox providers check two linked things: that the sending IP has a PTR record, and that the hostname in that record resolves forward to the same IP, a check called forward-confirmed reverse DNS (FCrDNS). You cannot set a PTR record in your domain's standard DNS zone at your registrar or Cloudflare (where most people look first), because it lives in a reverse zone owned by whoever owns the IP address, which on a VPS means your host's control panel, not your own DNS panel.
What is a PTR record?
A PTR (pointer) record answers the opposite question to an A record. An A record takes a hostname and returns an IP address, while a PTR record takes an IP address and returns a hostname. People call this "reverse DNS" or "rDNS": you start from the IP and look up the name attached to it, rather than looking up the IP attached to the name.
For IPv4, PTR records sit in a special reverse domain built from the IP address written backwards, with .in-addr.arpa appended. Take 192.0.2.255. Its PTR is stored under 255.2.0.192.in-addr.arpa, inside the .arpa top-level domain (used mostly for internet infrastructure and the first TLD ever defined). Section 3.5 of RFC 1035, published in November 1987, sets out this structure. IPv6 follows the same idea, but the address is reversed in four-bit sections before .ip6.arpa is appended.
According to Cloudflare's explanation of PTR records, the main uses are anti-spam filtering, troubleshooting delivery problems, and making server logs readable instead of leaving you with a wall of raw IPs. On the mail side, anti-spam filters use reverse DNS to judge whether a sending IP looks like a legitimate mail server, and Cloudflare notes that a missing PTR record, or one with the wrong domain, can lead some services to block all mail from that domain.
PTR record vs reverse IP lookup
Do not confuse these two. A PTR lookup takes one IP and returns one hostname: the reverse DNS pointer for that address. A reverse IP lookup is a different job, taking one IP and returning every website hosted on it (handy for seeing what else shares a server). HostList's own reverse IP lookup tool does the second job, not the first. For mail delivery problems, you want a PTR lookup, which is another tool entirely.
Why do mail providers check PTR records?
Not every mailbox provider states the same rule, so it helps to know exactly what each one says.
| Provider | PTR requirement | What they actually say |
|---|---|---|
| Google (Gmail) | Required | Since 1 February 2024, the Gmail sender guidelines require the sending SMTP server's public IP to have a PTR record resolving to a hostname, and that hostname must have an A or AAAA record resolving back to the same IP. Google also requires SPF or DKIM for all senders, and SPF, DKIM and DMARC together for anyone sending more than 5,000 messages a day. |
| Yahoo | Required | Yahoo's sender best practices state that all senders need a valid forward and reverse DNS record for their sending IPs, that the PTR should reflect your domain name in some way, and specifically warn against reverse DNS that looks like a dynamically assigned IP. |
| Microsoft (Outlook.com) | Not listed | Microsoft's high-volume sender requirements, announced 2 April 2025, require SPF, DKIM and DMARC for domains sending more than 5,000 messages a day. PTR is not mentioned as a requirement in that announcement, so do not assume Microsoft enforces it the way Google and Yahoo do. |
If you're sending to a mix of Gmail, Yahoo and Outlook.com addresses, set the PTR anyway: it is one setting, and two of these three providers name it explicitly. IPv6 needs the same care. Google says an IPv6 authorization error can mean the sending server's PTR record is not set up for IPv6, and gives this example bounce: 550-5.7.1, "Message does not meet IPv6 sending guidelines regarding PTR records and authentication."
Who sets the PTR record?
This is the part people get wrong. A PTR record is not stored in your domain's DNS zone. It sits in a reverse zone, something like 1.113.0.203.in-addr.arpa., owned by whoever owns the IP address block, not whoever owns the domain. On a VPS, that means your hosting provider controls the zone where the PTR actually lives, not you. You will not find it by logging into your domain registrar or your DNS provider's dashboard, because it simply is not there.
Hetzner's documentation spells this out directly: an rDNS entry is usually set up by the provider who owns the IP address. Every Hetzner IP also ships with a Hetzner-managed default PTR that looks something like static.1.113.0.203.clients.your-server.de. That default does not reflect your domain, and Yahoo explicitly asks for meaningful, non-generic PTR names that reflect your domain in some way. Change it to your mail hostname before the server sends anything.
On shared hosting, this problem mostly disappears. The host's own mail server sends your WordPress mail on your behalf, and the PTR for that server is the host's responsibility (already configured and out of sight). Move to a VPS and run your own mail, or let WordPress or an app send mail directly from the server's own IP, and you inherit this problem, along with a control panel setting to track down.
Setting the PTR record at Hetzner
In Hetzner Console, select the cloud server, open Networking, and edit the rDNS entry next to the IP address you're using to send mail. Hetzner's own definition of a valid rDNS entry for mail servers is the FCrDNS check in full: the domain assigned to the IP must resolve forward to that same IP, matching the PTR in both directions, as Hetzner's rDNS documentation describes. For IPv6, you only enter the interface identifier (for example ::1), because Hetzner already stores the network prefix for you.
Hetzner keeps ports 25 and 465 blocked on all cloud servers by default, according to Hetzner's cloud FAQ. You can request an unblock after a month, once you've paid your first invoice, decided case by case. Port 587 for sending through external mail delivery services is not blocked at all. If your mail is bouncing and the PTR is fine, check this before you assume DNS is the problem.
Setting the PTR record at DigitalOcean
DigitalOcean creates the PTR record automatically from the Droplet's name in the control panel, without a separate manual PTR option anywhere in the dashboard. The Droplet name itself has to be a valid fully qualified domain name. According to DigitalOcean's DNS documentation, naming a Droplet example.com works, but naming it ubuntu-s-4vcpu-8gb-fra1-01 or my-droplet doesn't give you a usable PTR. If you enable IPv6, only the first IPv6 address on the Droplet gets a PTR record, which matters if you've assigned more than one.
Setting the PTR record at Vultr
In the Vultr console, go to Compute, select the instance, open Settings, then IPv4 or IPv6, and click the rDNS name shown in the Reverse DNS column to enter the FQDN you want. Vultr's rDNS documentation states changes take 6 to 12 hours to propagate, and recommends verifying with dig -x rather than assuming it is live the moment you save it.
How to check your PTR record
Run these from any machine with dig or nslookup installed. Replace the example IP and hostname with your own; the ones below are documentation examples.
dig -x 203.0.113.10 +short
This returns the PTR hostname attached to that IP. Then confirm the forward half of FCrDNS, that the hostname points back to the same IP:
dig +short mail.example.com A
If that second command returns a different IP, or nothing at all, you have a broken PTR setup even though the first command returned a hostname. You can also check with:
nslookup 203.0.113.10
For the full picture of your mail setup, pair this with HostList's MX record lookup and SPF checker. If any of this is new to you, read the MX record glossary entry before changing live mail records.
Common PTR record mistakes
- Adding a "PTR record" in your domain's DNS zone at your registrar or at Cloudflare. It will save, it will look fine, and it will do absolutely nothing, because reverse lookups never check your domain's zone.
- Leaving the host's generic default hostname in place, such as Hetzner's
static.x.x.x.clients.your-server.de, instead of pointing it at your actual mail hostname. - Setting a PTR hostname that has no A record at all, or one that resolves to a different IP, which breaks forward-confirmed reverse DNS even though the PTR itself looks correctly set.
- Forgetting IPv6 entirely. If your server sends mail over IPv6 and only the IPv4 PTR is configured, Gmail can bounce it with the IPv6 PTR error quoted above.
- Naming a DigitalOcean Droplet something that isn't a valid FQDN, which means DigitalOcean does not create a usable PTR for it.
The sensible order of work for a VPS sending its own mail is plain: pick a hostname such as mail.example.com, create its A record, create its AAAA record if you're on IPv6, set the PTR at your host to that same hostname, confirm both directions with dig, then move on to SPF, DKIM and DMARC. HostList's guide on generating and checking SPF, DKIM and DMARC covers that next step in full, and if you're mid-migration, the cutover day runbook and email migration sequence are worth reading before you touch any live mail records.
Frequently asked questions
What is reverse DNS?
Reverse DNS looks up a hostname starting from an IP address, which is the opposite direction to a normal DNS lookup. It's handled through PTR records stored in special reverse zones under .in-addr.arpa for IPv4 or .ip6.arpa for IPv6, which belong to whoever owns the IP block rather than whoever owns the domain.
What does FCrDNS mean?
FCrDNS stands for forward-confirmed reverse DNS. A sending IP's PTR record resolves to a hostname, and that hostname's own A or AAAA record resolves back to the exact same IP. Google and Hetzner both describe valid reverse DNS for mail in exactly these two-way terms.
Why can't I set a PTR record in my own DNS zone?
Because the PTR record doesn't live in your domain's zone at all. It sits in a reverse zone tied to the IP address itself (controlled by whoever owns the IP block), which on a VPS is your hosting provider. Your registrar or DNS provider has no authority over it, no matter how the panel is labelled.
Does every mail provider require a PTR record?
No. Google and Yahoo both explicitly check for valid PTR records on sending IPs. Microsoft's high-volume sender requirements list SPF, DKIM and DMARC but not PTR, so don't assume it's universally enforced just because two major providers check it closely.
Follow HostList for new rankings, original research, and changes across the hosting industry.



