hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-670) add an interface for plugable dns clients
Date Wed, 18 Jul 2007 12:35:05 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513546

Ralf Hauser commented on HTTPCLIENT-670:

ok, the below probably answers my previous issue - getAllByName0 probably uses lookupAllHostAddr()

java.net.UnknownHostException: ns3.interway.ch:
	at java.net.InetAddress.getAllByName0(Unknown Source)
	at java.net.InetAddress.getAllByName0(Unknown Source)
	at java.net.InetAddress.getAllByName(Unknown Source)
	at java.net.InetAddress.getByName(Unknown Source)
	at org.xbill.DNS.SimpleResolver.<init>(SimpleResolver.java:56)
	at org.xbill.DNS.ExtendedResolver.<init>(ExtendedResolver.java:281)

> add an interface for plugable dns clients
> -----------------------------------------
>                 Key: HTTPCLIENT-670
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-670
>             Project: HttpComponents HttpClient
>          Issue Type: New Feature
>          Components: HttpConn
>            Reporter: Armin Häberling
>             Fix For: 4.0 Beta 1
> Currently Httpclient implicitly uses InetAddress.getByName() for DNS resolution.
> This has some drawbacks. One is that the DNS cache of Java per default caches entries
> So I'd like to be able to replace InetAddress.getByName() with another DNS client implementation.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org

View raw message