Addressed to: "Scott Rothgaber" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Scott Rothgaber" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 12:46:08
-0500
>
> On 26 Feb 2001, at 10:21, [EMAIL PROTECTED] wrote:
>
> > The first thing to try is get a list of the host names that
> > fail and do a nslookup to make sure you can resolve them.
>
> The way I see it, this is strictly a PHP issue. *No* lookups are
> succeeding, not even in the log file. If I switch back to my
> Apache binary built without PHP, everything works.
>
Take a look thru your Apache config files for HostNameLookups, that is
probably what it is. You can set it to ON to get this behavior back.
You might want to think about it a little before you do. Having this on
means that EVERY SINGLE page and image hit requires a DNS lookup BEFORE
the page/image is sent. If there is a problem with reverse DNS on the
modem your visitor is connected to (not uncommon) they get to wait up to
30 seconds for a DNS timeout before the page will load. Not good.
Consider how often you really care about what the host name is. Is it
worth the extra delay for the DNS lookup on EVERY page sent.
You mentioned having to have your log analyzer do the DNS lookups when
it processes the logs. I say better pay for it then when it is only you
waiting for results than making your visitors pay on every page and
image they download.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]