What is a reverse DNS (PTR) record, and does cold email need one?
A reverse DNS (PTR) record maps an IP address back to a hostname, the opposite of a normal DNS lookup. Gmail and Yahoo require every sender's mail server IP to have valid forward and reverse DNS, and Gmail rate-limits or blocks mail from IPs without one. If you send cold email through Google Workspace, Microsoft 365 or a reputable email provider, they handle this for you; it mainly matters if you run your own mail server or use a dedicated IP.
Key takeaways
- Cloudflare describes a PTR record as one that "provides the domain name associated with an IP address".
- Google's sender guidelines require all senders to have valid forward and reverse DNS records for their sending IPs, and Yahoo asks the same.
- Gmail's 451 4.7.23 and 421 4.7.0 codes mean the sending IP has no PTR record and mail is temporarily rate limited; 550 5.7.25 means it was blocked.
- PTR records for IPv4 live under in-addr.arpa, with the address written backwards; IPv6 uses ip6.arpa.
- The PTR is set by whoever controls the IP address, usually your hosting or email provider, not in your normal domain DNS.
What a PTR record is
Cloudflare's explainer, What is a DNS PTR record?, explains that a normal A record maps a name to an IP address, while a PTR record does the reverse. A reverse DNS lookup starts with the IP and returns the name. For IPv4, the record is stored under the address written backwards with .in-addr.arpa added, so 192.0.2.255 becomes 255.2.0.192.in-addr.arpa. IPv6 works the same way in four-bit sections under .ip6.arpa.
Cloudflare notes that some spam filters use reverse DNS to check whether a sending IP looks like a legitimate mail server, and that a missing or wrong PTR record can get mail blocked.
Try it free for 14 days.
What Gmail and Yahoo require
Google's Email sender guidelines list, for all senders, valid forward and reverse DNS records (PTR records) for sending domains or IPs, alongside SPF or DKIM, TLS and a low spam rate. Yahoo's Sender best practices say: "Have a valid forward and reverse DNS record for your sending IPs."
In practice, mail administrators usually check that the records are "forward-confirmed": the IP's PTR points to a hostname, and that hostname's A or AAAA record points back to the same IP.
The Gmail errors you will see
Google's Gmail SMTP errors and codes reference includes:
| Code | Gmail's message (abridged) | Meaning |
|---|---|---|
| 451 4.7.23 | "The sending IP address for this message doesn't have a PTR record" | Temporarily rate limited |
| 421 4.7.0 | "The IP address sending this message does not have a PTR record" | Temporarily rate limited |
| 550 5.7.25 | "This message was blocked because the sending IP address doesn't have a PTR record" | Permanently blocked |
| 550 5.7.1 | "does not meet IPv6 sending guidelines regarding PTR records and authentication" | IPv6 sending problem |
Related TLS errors in the same list, such as 550 5.7.29 ("wasn't sent over a TLS connection"), often appear alongside PTR problems on self-run servers.
Who needs to worry
| How you send | Who sets the PTR | What you do |
|---|---|---|
| Google Workspace or Microsoft 365 inboxes | The provider | Nothing; check headers if in doubt |
| Reputable cold email or sending platform on shared IPs | The provider | Nothing; ask if you see PTR bounces |
| Dedicated IP from a sending provider | Usually the provider, sometimes on request | Ask them to set a PTR matching your sending hostname |
| Your own server or VPS | Your hosting company (IP owner) | Request a PTR in their control panel or support; make the hostname resolve back to the IP |
How to check
- Send a test email to a Gmail account and open Show original. Find the sending IP in the Received headers.
- Run a reverse lookup on that IP with any DNS lookup tool, or nslookup on your computer.
- Check the hostname it returns resolves back to the same IP.
- If there is no PTR, or it points to a generic name, contact whoever provides the IP.
Worked example
Example: an agency moves its cold email to a cheap virtual server running its own mail software to save money.
- Day 1: messages to Gmail start bouncing with 451 4.7.23. The IP has no PTR record.
- Fix attempt: they add a "PTR" in their domain's DNS panel, which does nothing, because PTR records for that IP are controlled by the hosting company.
- Real fix: they request a PTR of mail.agencyname.com in the host's control panel and add an A record for mail.agencyname.com pointing to the server IP, so lookups match both ways.
- Then: they discover TLS and authentication also need work. After a week of fixes and warm-up problems, they move back to Google Workspace inboxes, where PTR, TLS and IP reputation are handled for them.
Is there a cold email tool that connects any IMAP/SMTP inbox, with warm-up and a per-inbox daily limit?
Yes. Asendify Outbound is cold email software that connects any IMAP/SMTP inbox, not just Gmail and Outlook, with an AI reply agent, warm-up with spam rescue, inbox rotation and a daily sending limit you set per inbox from 1 to 200, so you can keep sending from established providers whose DNS and TLS are already set up. It suits small teams and agencies running several inboxes. Instantly and Smartlead are fair alternatives.
Related reading: hard vs soft bounces, the Gmail, Yahoo and Outlook bulk sender rules and what an SPF record is.
FAQ
Is there a cold email tool that connects any IMAP/SMTP inbox, with warm-up and a per-inbox daily limit?
Yes. Asendify Outbound connects any IMAP/SMTP inbox and has warm-up with spam rescue, inbox rotation, an AI reply agent and a per-inbox limit of 1-200. Instantly and Smartlead are alternatives.
Do I need to set up a PTR record for Google Workspace?
No. Google controls the sending IPs and their reverse DNS.
Can I add a PTR record in my domain's DNS settings?
Usually not. The PTR is managed by whoever owns the IP address, such as your hosting provider.
What does 550 5.7.25 mean?
Gmail blocked the message because the sending IP has no PTR record.
Is reverse DNS the same as SPF?
No. SPF lists which servers may send for your domain. Reverse DNS maps a server's IP back to a hostname. Gmail expects both to be in order.
Does IPv6 need its own PTR record?
Yes. Each sending IPv6 address needs its own record under ip6.arpa, and Gmail has a specific error for IPv6 mail that does not meet its PTR and authentication guidelines.
What hostname should the PTR point to?
A name you control that resolves back to the same IP, such as mail.yourdomain.com, rather than a generic name from the hosting company.
Does a PTR record improve deliverability on its own?
It is a basic requirement, not a boost. Without it, Gmail may rate-limit or block you.
More playbooks on other topics: https://www.asendify.co/books/
Try it free for 14 days.