- Updated
- View as Markdown
Glossary
PTR record.
A PTR (pointer) record maps an IP address back to a hostname, the reverse of an A record. Mail servers use this reverse DNS lookup to check that a sending IP has a real, matching name before they trust its mail.
What is PTR Record?
In short
PTR records live in a special zone built from the reversed IP.
RFC 1035's example: 10.2.0.52 is looked up at 52.0.2.10.in-addr.arpa, and the PTR record there holds a hostname such as mail.example.com. Whoever controls the IP block controls that zone, so you set PTR records through your hosting provider or email provider, not in your domain's DNS.
Receivers check forward-confirmed reverse DNS: the hostname in the PTR record must resolve back to the same IP. Google's sender guidelines require this from all senders. Yahoo requires valid forward and reverse DNS from every sender and recommends meaningful, non-generic PTR records that reflect your domain.
PTR Record example.
Example: a team moves cold email to its own server at 198.51.100.7. Test messages to Gmail fail until the hosting company sets the PTR record to mail.example.com and the team adds an A record for mail.example.com pointing back to 198.51.100.7.
PTR Record in practice.
If you send through Google Workspace, Microsoft 365 or an email service provider, the provider owns the IPs and sets PTR records for you. You manage PTR yourself only when you run your own mail server on your own IP.
Frequently asked questions.
A DNS record that maps an IP address to a hostname. It is the reverse of an A record, which maps a hostname to an IP.
Looking up the hostname for an IP address. The query goes to a name built from the IP in reverse order under in-addr.arpa, so 10.2.0.52 is looked up at 52.0.2.10.in-addr.arpa.
Yes. Google's sender guidelines require the sending IP to have a PTR record whose hostname resolves back to the same IP. Yahoo asks all senders for valid forward and reverse DNS too.
Whoever controls the IP address: your hosting provider, ISP or email provider. You can't set it in your own domain's DNS zone. If you send through Google Workspace or Microsoft 365, the provider handles it.
Do this in Kenso.
Do this in Kenso
Delivery provisions Google and Microsoft mailboxes for you. Those providers own the sending IPs and set their reverse DNS, so there is no PTR record for you to manage.
Open in Kenso- Module
- Delivery
Related pages.
Sources we checked.
| Source | Checked |
|---|---|
| Google: Email sender guidelines | |
| Yahoo Sender Hub: Sender best practices | |
| RFC 1035: Domain Names, Implementation and Specification |
What changed on this page.
- Page published.