On Mon, 27 Mar 2006, Anders Kristensen wrote:
> I was wondering if anyone could tell me how InetAddress.getByName is
> implemented in the JDK. I imagine it uses the platform's resolver library but
> maybe it uses the JNDI DNS resolver?
I believe it uses the JNDI resolver, which uses the platform's resolver
library.
> Is the InetAddress resolver pluggable in any way? Would it be possible to
> have it map on to dnsjava, say?
Yes. See the "Replacing the standard Java DNS functionality" section of
the dnsjava README file.
Brian
|