Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 romping around the Monastery: (8)
As of 2014-08-28 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (255 votes), past polls