RFC compliant address selection vs. home made getaddrinfo

Matthew Hall mhall at mhcomputing.net
Wed Jun 12 15:01:43 PDT 2013


On Wed, Jun 12, 2013 at 11:05:00PM +0200, Bernd Eckenfels wrote:
> If you think it is not a good idea to fix this, I would vote for an
> alternate name service provider which can be selected if rfc
> compliant behavior is needed.

I agree with the other points.

There is a pre-existing alternative provider, dnsjava:

http://www.xbill.org/dnsjava/doc/org/xbill/DNS/spi/DNSJavaNameService.html

sun.net.spi.nameservice.provider.1=dns,dnsjava

I am wondering (I think it could be educational for dealing with the bug you 
found), what happens if you try this one? Does the bug go away? Or does it 
still happen using this Pure-Java resolver as well?

> Gruss
> Bernd

Regards,
Matthew



More information about the net-dev mailing list