On Tue, 2005-03-15 at 02:55 -0800, Gisle Aas wrote: > Matthew Berk <[EMAIL PROTECTED]> writes: > > > In using LWP to gather pages, is there a way to shortcut the DNS > > lookup to eliminate the overhead? I assume LWP leaves this to the OS, > > in which case, my question is better asked elsewhere, yes? > > LWP will let IO::Socket::INET module do the host lookup. This module > will call the $self->_get_addr() method which by default will call > gethostbyname() to get the information from the OS.
If you're running Linux, nscd(8) could help. It's part of glibc, IIRC.