If I were to write my own DNS resolver, what is the best way to utilize it?
I see that there is a chain of injection that I can do if I override the
DefaultClientConnectionOperator, but I wasn't sure if there was a cleaner /
easier way.

On Sat, Oct 8, 2011 at 10:20 AM, Stephen J. Butler <[email protected]
> wrote:

> On Sat, Oct 8, 2011 at 11:09 AM, Craig Gambino <[email protected]>
> wrote:
> > I was wondering if it was possible to disable / stop NetBios name
> resolution
> > during a request on a per-client basis (e.g. cannot alter the JVM or the
> > machine or anything that would effect another process).  Would anyone
> have
> > any ideas on how to go about this?
>
> Can you change JVM startup parameters? Information in this bug...
>
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063
>
> ... suggests you can set the resolver explicitly with:
>
> -Dsun.net.spi.nameservice.provider.1=dns,sun
>
> Also, you could download a DNS resolver class implementation and do
> the resolution yourself.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to