From: Bauersachs I. <ing...@fh...> - 2011-11-29 14:13:15
|
Hey Brian I'm trying to integrate DNSJAVA's SPI in Jitsi and had a few issues: - Some JVM internals (seed generation for randomness) call InetAddress.getLocalHost. This causes a lookup to the configured DNS server, which usually doesn't know of localhost (or on Windows, my machine name). - SSL/TLS sockets try to obtain the hostname from InetAddress objects, which causes PTR query when the InetAdresses object was not pre-initialized with the hostname. Attached is a patch to DNSJAVA that solves these issues. Would you mind applying it to trunk? The unit tests all ran fine (apart from DNSSECWithLunaProviderTest which I excluded because of the dependency; and an IP of a colorado.edu server changed). More of a general question: The project uses a very unusual file-layout for Java projects and the Ant buildscript also needed some modifications to get the stuff running. Would it be an option to bring that in a more "standard"-compliant layout? I'd help of course if you're interested. :-) Regards, Ingo |