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

Ortwin Glück commented on HTTPCLIENT-670:
-----------------------------------------

-Dnetworkaddress.cache.ttl=60 definitely belongs into every server startup 
script, along with sensible values for heap / non-heap, DGC intervals etc. 

I don't think we are going to introduce new interfaces or abstract classes in 
3.x. However you can implement your own ProtocolSocketFactory that uses the DNS 
implementation of your choice.

> 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
>
> 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 forever.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to