> However, since we're going to do up to 10 queries, and each can be blocking, > wouldn't it be better to fork for each DNS lookup (even optionally) and kill > the children if the DNS query hasn't returned in x seconds? > That way, since all the DNS queries are run in parallel, at worst, you spend > x seconds, not some unknown and unbounded amount of time.
What about using the bgsend/bgisready functionality in Net::DNS? That should allow multiple queries in the background in parallel. -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: [EMAIL PROTECTED] University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk