HostGator.com » Support Portal

Reverse DNS record, PTR, pointer record

The reverse DNS record is also known as the PTR record, pointer record, or IP resolvers.

A PTR is a reverse record for an IP address, which allows an IP to map to a domain, and vice versa. That means you can make hostgator.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 hostgator.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 to deliver to my inbox instead of my spam folder.

Now what do most mail servers do, if they actually check this?

When the sending server, lets say a VPS, tacocat.hostgator.com for instance, sends an email to gmail, from the address random@somedomain.com, it will connect to the gmail server and tell it "Hello, I'm tacocat.hostgator.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 a rDNS record on the ip that tacocat.hostgator.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 mailserver felt especially evil.)

If the rDNS record comes up as tacocat.hostgator.com, then Gmail will be happy.

Additionally, 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 is able to map back to itself, even if its hostname claim does not match. Do not rely on the external mail server being that smart though.

Times when this is not true, is when exim is configured to send from other IP's, dependent on it's hostname, this can be seen by checking /etc/mailips. Most clients do not have this, and do not need it.


How do I add a PTR record for my HostGator account?

Shared and Reseller:

HostGator has already setup default PTR records for shared and reseller servers by default.

Dedicated and VPS

We can create this record on your domains per request. Just contact us via phone, live chat, or email support@hostgator.com with the domain name.


Article Comments

George
Regarding Shared and Reseller and excluding mail, will however the dedicated IP "resolve" to the hosted domain name in a reverse DNS lookup instead of "resolving" to <HostGatorServer>.hostgator.com? As an example, right now a ping (or a dig -x ipaddress) "reveals" the Host Gator hosting of the domain, will a PTR record and a dedicated IP prevent this?

HostGator
The dedicated IP will be enough to change the results from <servername>.hostgator.com to <123456a>.static.theplanet.com

Packfan77
Does a VPS customer have to request rDNS every time they add a new domain name? Is there not some way to automate this process?

HostGator
We must have our datacenter set up the PTR record for your request.

However, we will only need this request when you add a new IP address, not when you add a new domain name.

Eduardo
Reading this article helped me figure out what was going wrong, and why my emails were filtered as spam (especially by Hotmail smartscreen).

My email client was using the following setup:

###Mail is sent through: gator1083.hostgator.com
###Secured connection on port 465 using SSL

Changing server to mail.mydomain.com and keeping SSL configuration solved the issue. Now my emails are sent directly to inbox.

I hope this helps someone else.

regards!

David
Nice post

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment