I apologize in advance: technically this is not a post about DefaultHttpClient, as the same behaviour happens using URL.openConnection(), but we met this behaviour the first time using DefaultHttpClient, and if anybody else had the same problem this might ring a bell.
I have posted the question in detail on stackoverflow: http://stackoverflow.com/q/14087634/1937350 Basically, when an address is looked up using InetAddress.getAllByName() or DNSJava's Addess.getAllByName(), everything works as expected. But when we actually try to open a socket using Apache HTTP Component's DefaultHttpClient (or URL.openConnection()), we find that a reverse lookup is performed on the IP address. I really hope someone has an explanation, because I couldn't find any :(. The same behaviour is *not* seen on Mac OS X, for instance. -- View this message in context: http://httpcomponents.10934.n7.nabble.com/On-Linux-Java-issues-reverse-DNS-lookups-when-a-socket-is-opened-tp18590.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
