From: <Ale...@no...> - 2006-09-07 13:15:27
|
Hi - In case anybody is interested, we have published an extension to dnsjava that uses non-blocking sockets, and does not create a new thread for each new query. Where possible, it streams all DNS traffic over single port, rather than opening a new port for each query. The code is an add-on to dnsjava - it does not change dnsjava at all; it simply provides a new NonblockingResolver which can be used instead of a SimpleResolver, and defines a new ResponseQueue for completed queries (rather than using the existing callback method). Details, and the download link, are available here : http://blog.nominet.org.uk/tech/Java/2006/08/08/Nonblocking-extensions-to-dnsjava.html Please let me know if you have any questions or issues with this code. Thanks! Alex. |