Understanding PTR Records (Reverse DNS) for Email Delivery
The reverse DNS record (rDNS) is also known as the PTR record, pointer record, or IP resolver. A PTR is a reverse record for an IP address that allows an IP to map to a domain and vice versa. That means you can make bluehost.com point to 10.0.0.1 and make a PTR record so that 10.0.0.1, if checked, would tell you that it belongs to bluehost.com. It lets the receiver of your emails check for possible spoof emails, which will be treated as spam. Without this record, the receiver must rely on guessing if your email might be spam.
Generally, when you have a PTR record, your emails have a better chance of being delivered to the recipient's inbox instead of the spam folder.
Common Uses for PTR Records
- Logging - PTR record is used in logging to help provide human-readable data rather than logs consisting entirely of IP addresses.
- Anti-spam purposes - There are some email anti-spam filters that use PTR records to check the domain names of email addresses. They check if the associated IP addresses are likely to be used by legitimate email servers.
- Troubleshoots email delivery issues - Missing or misconfigured PTR records may result in email delivery problems. Email services may block all emails from a domain without a PTR record or if a PTR record contains an incorrect domain.
Add a PTR Record to Your Bluehost Account
Shared and Reseller Hosting
Bluehost has already set up PTR records for shared and reseller servers by default.
VPS and Dedicated Hosting
We can create a PTR record on your domains at your request. Let us know via phone or chat so we can assist you.
Mail Servers Check the PTR Record
When the sending server, for instance, a VPS, 'server.exampledomain.com,' sends an email to Gmail, from the address '[email protected],' it will connect to the Gmail server and tell it, "Hello, I'm server.exampledomain.com."
Gmail then has the option to either say, "What email do you have for me?" or "Let me look into this..."
If it's the latter, Gmail will pull an rDNS record on the IP that 'server.exampledomain.com' is connecting from. It does NOT check the domain 'somedomain.com.' That would only occur for reverse user checking, which has nothing to do with rDNS records (or if the admin of the mail server felt especially evil).
If the rDNS record comes up as 'server.exampledomain.com,' then Gmail will be happy.
Hostname Does Not Match
In some cases, if the rDNS comes up as 'somedomain.com' and 'somedomain.com' points to that IP address, some email servers will accept that since the mail server IP can map back to itself even if its hostname claim does not match. Do not rely on the external mail server being that smart, though.
The times when this is not true are when Exim is configured to send from other IP addresses depending on its hostname. This can be seen by checking /etc/mailips. Most clients do not have this and do not need it.
Summary
PTR records (reverse DNS) are essential for email delivery and anti-spam protection. They help map IP addresses to domains, improve email deliverability, and are automatically set up for most Bluehost shared and reseller hosting customers. For VPS and Dedicated servers, PTR records can be created upon request.
If you need further assistance, Bluehost Chat Support is available 24 hours a day, 7days a week while Bluehost Phone Support is available 7 days a week from 7 am-12 midnight EST.
- Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.