On 8/22/2005 3:50 PM, Eric A. Hall wrote: > IP::Country use Whois lookups instead though, and UDP/DNS lookups are > going to be faster than chained TCP/Whois queries.
> I'll play with the plugin and see what kind of times and load I get Some poking around, IP::Country::Fast uses a pre-built mapping database instead of issuing lookups (IP::Country::Slow) or caching lookups (IP::Country::Medium). The pre-built databse is stored in the ".gif" files in /usr/lib/perl5/site_perl/5.8.6/IP/Country/Fast/ on my system, and presumably this stuff gets repackaged when IP allocations change. This means keeping the package synched, of course, but it does seem to be somewhat faster and requires less overhead. BTW, lookups for dead domain names are really slow and block the rest of the message processing. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/