![]() |
| Email Tips: Reverse DNS (RDNS) |
|
jamie
HostMySite Sales Rep
![]()
|
Quoting Wikipedia,
In layman's terms, you can think of an RDNS entry in your nameserver as an IP address that points back to a domain name. This is a strange concept, because we're mostly concerned with figuring out what IP address a domain name is pointing to, the exact opposite of RDNS (that's where the REVERSE comes in I suppose). Though there are likely other uses for it, RDNS for a webhost is primarily discussed in terms of email - it is standard practice for a recipient mailserver to check the RDNS entry of the connecting server before it accepts a message. AOL does this with the zeal of a religious fanatic, and has for some time. So, in order to send email effectively you need to ensure that your sending server has a proper RDNS record configured. I won't go into the configuration details since your host will likely take care of that for you, however here is the basic premise:
To elaborate on 'b' - SmarterMail, for example, has the ability to set EACH DOMAIN to send on it's own IP address - you can choose any IP that is bound to the server, and IPs can be re-used if you like. The easiest way to see what IP is being used, aside from checking the mail program's configuration, is just to send a message to an EXTERNAL mail account (aol, yahoo, hotmail, et al.) and then when it gets there check the message header to see the IP of the last server that touched the message before the remote recipient server recieved it. For more information on checking headers, see http://www.hostmysite.com/support/email/headers/ That last paragraph had an important point buried in it: THE ONLY IP THAT MATTERS IS THE IP OF THE LAST SERVER THAT PROCESSED THE MESSAGE BEFORE ITS DELIVERY. For example, in a common header you will see an entry for your local machine's IP if you sent the message via MS Outlook or some other similar mail program. That local IP address (which likely belongs to your ISP) does NOT need to have RDNS setup since it's not the server that actually tried to deliver the message. This is a VERY important concept to understand because in it lies the key to understanding EVERY mail delivery problem...i.e. check the last server on the sending side that had the message since that is where the problem will lie. If you're sending mail via a web-based form (i.e. a 'contact us' form) then the sending server could be the webserver itself if the webserver is configured to send it's own mail, or it could be some sort of relay server if you're webserver (or the script you're using to send) is configured to bounce the message off another server for processing before delivery to the recipient server. Read this several times if needs be; the concept here is the same one that is used by our technicians to determine exactly why a message bounced...and while it's a tedious process tracking the route a message took and the servers that handled it before it reached the recipient server is the best method to figuring out where your message went awry. |
||||||||||||||
|
Last edited by jamie on Tue Jan 27, 2009 6:37 am; edited 1 time in total |
|||||||||||||||
|
nathacof
Forum Admin
|
|||||||||||||
|
|
|||||||||||||
|
jamie
HostMySite Sales Rep
![]()
|
Yeah, ok I have no idea how I made it though that massive post without ever once mentioning an easy way to determine an IP's reverse DNS.
Oh, and one other tip: while it is possible to have MULTIPLE RDNS entries for an IP address (basically pointing back to more than one domain name) this behavior is not advisable. Most automated checks for the existence of an RDNS record simply return the first result they find, and I believe nameservers alternate which record they would provide. In short, having 5 domains listed in RDNS will mean that anything doing a check on it would get a random result back, which probably won't get the job done. |
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
The record returned by the DNS server is determined on a round-robin basis I believe Jamie, but certainly not desirable behavior to say the least.
|
||||||||||||
|
|
|||||||||||||
|
jamie
HostMySite Sales Rep
![]()
|
Yup, you're right. 'Round-robin' was the term I was looking for when I said '...nameservers alternate which record they would provide...'
Thanks again; you're a great wingman. |
||||||||||||
|
|
|||||||||||||
|
kurt
|
I have been having issues sending people email. I receive no bounce or anything so I assume they received it until a mad customer emails me saying I didn't respond. This has been going on for a couple weeks. I didn't change anything. Finally, I did a reverse dns lookup on my IP and it's pointing to the wrong domain name!!! Some domain name at yahoo.... I contacted support to fix it. How could this have been set up wrong in the first place?
|
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
Unfortunately there is no guarantee that your designated IP wasn't owned at one point by another customer. Due to limited availability of IP addresses I'm afraid there's not much that can be done about it.
However just submit a support request and we'll get you sorted. |
||||||||||||
|
|
|||||||||||||
|
jamie
HostMySite Sales Rep
![]()
|
Nate's answer is correct, however it should also be noted that RDNS for your website itself is largely irrelevant. Mailservers don't care whether or not a website has proper RDNS because they don't check the website's IP, they check the IP of the connecting mailserver. For example, when you send a message through the HMS network it goes through your Smartermail Server then gets relayed through our outbound Barracuda Spam Firewall cluster. The Barracuda appliance that hands the message off to yahoo (or wherever your recipient is) MUST have proper RDNS in place since it's the only server/IP that Yahoo would 'see' and care about.
While it's not a bad idea to have support fix the RDNS issue with your website's IP address, that probably won't make a difference to your email problem. If your associate is consistently not getting your email the best thing to do is ask Support to track the message (assuming it was sent within the last few days) and they can dig up the logs and tell if the recipient server gave any sort of an error. If it's been longer than that the only thing to do is either resend and retest or check your Spam/Junk folder for a bounceback from that recipient's mailserver. |
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
The only mail servers I know of that actually checks if the RDNS and Hostname match literally would be Craig's list ... they must get a lot of spam to stoop so low ...
|
||||||||||||
|
|
|||||||||||||
|
jamie
HostMySite Sales Rep
![]()
|
They actually do that? Seems like it would cause more problems than it would solve in the case of major 3rd party email providers sending them mail...maybe exceptions exist for hotmail, etc? Still sounds like a stupid system to me regardless.
|
||||||||||||
|
|
|||||||||||||
|
nathacof
Forum Admin
|
It probably turns away more legitimate mail than spam.
I haven't seen the problem in a while though, this was back when I was in shared support. I could throw up a temporary VPS if you wanna test it. |
||||||||||||
|
|
|||||||||||||
| Email Tips: Reverse DNS (RDNS) |
|
||
|



