Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using Threading to speed up DNS Resolution

by matija (Priest)
on Oct 22, 2004 at 15:16 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://401514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-25 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found