Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Using Threading to speed up DNS Resolution

by matija (Priest)
on Oct 22, 2004 at 15:16 UTC ( #401514=note: print w/ replies, xml ) Need Help??


in reply to Using Threading to speed up DNS Resolution

Yes, it's possible to thred it, even without threading in your own script. Look at the docs for NET::DNS.

The best way to speed up the script depends a lot on the input. Make sure that the IP's are unique, or cache the results (in other words, only look up each IP number ONCE).

Also note that a fast "looker-upper" is going to place a significant load on whatever DNS you're using, and that the admin of that DNS might come looking for you with a stick.


Comment on Re: Using Threading to speed up DNS Resolution

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://401514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2014-09-23 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (234 votes), past polls