[Catalyst] Slowness on test server caused by reverse DNS lookups

Wade.Stuart at fallon.com Wade.Stuart at fallon.com
Tue May 30 18:06:32 CEST 2006







catalyst-bounces at lists.rawmode.org wrote on 05/30/2006 08:51:53 AM:

> On 5/30/06, Marcello Romani <mromani at ottotecnica.com> wrote:
> > I had a problem that is possibly related to this: when trying to access
> > the local test server, the browser requests seemed to reach it only
> > after a rather lengthy delay (5 seconds or so), but if I disabled the
> > LAN interface everything was instantaneous.
>

Also the default timeout for a DNS reverse lookup on all platforms I am
aware of is at least 25 seconds.  If you are seeing 5 second delays this is
probably some other issue not DNS.

If you are seeing 25 -> 60+ second delays you may add an entry for your IP
address to c:\windows\system32\drivers\etc\hosts or /etc/hosts for your IP
( take a look at /etc/nsswitch.conf or its variants too to make sure files
is listed first) -- that should take care reverse/forward dns timeouts for
testing.




> Under Windows, something like this (i.e. an annoying delay) happens
> when you're running the builtin server with "-k" and using IE as the
> browser. Unfortunately, if you don't use the "-k" option, IE doesn't
> play nice with it and everything blows up. But this shouldn't have
> anything to do with LAN interfaces, at least in theory.
>
> If you're ever able to test under these same conditions, it would be
> nice to know if the problem was also present when using FireFox as the
> browser.
>
>




More information about the Catalyst mailing list