Name based hosts and bind

Bob Hoffman bob at bobhoffman.com
Thu Apr 24 02:49:28 UTC 2008


> Name-based web hosting doesn't use PTR.  It gets the name 
> from the HTTP "Host:" request-header, which comes from the 
> URL that was given to the browser.

Except I was talking about the mx records and how another mail server will
want to look up who sent it. And they do look at PTR records and do not care
if the site it came from is namebased or not, they want the ptr record.


> 
> In mail, the "Received:" header will typically look something like:
> 
> Received: from <HELO name> (<ip addr> [<PTR name>]) ...
> 
> I've heard of systems that will reject mail if the <HELO 
> name> is not the same as the <PTR name>, but this is usually 
> a bad idea.  It causes problems on multi-homed hosts, because 
> they don't usually tailor their HELO name to the source IP of 
> the SMTP connection.  The more acceptable check is that there 
> IS a PTR record, and perhaps that <PTR name> resolves to <ip 
> addr> (i.e. forward and reverse consistency).

And if I read you right, that is the area of my question. I have not set up
sendmail enough yet to really use it or a name based site yet, but from what
I hear they do reject if the mail was sent from mail.2ndsite.com (a name
based) and the ptr says 1st.site.com (ip based on same ip as name based.)
This is conjecture and I cannot prove it, but I know aol is a pretty fussy
group.





More information about the bind-users mailing list