hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Braeckel <braec...@ucar.edu>
Subject DNS Cache Timeout
Date Wed, 22 Jun 2005 20:18:36 GMT

  I am using HttpClient 3.0RC2 with an application that runs constantly 
and contacts a web server frequently.  I am switching DNS entries to 
point to the backup server if problems occur with the primary server.  
Currently I am not seeing any recognition of the change when I switch 
the DNS entry, so it seems like a client-side DNS caching issue.  Is 
there any way to specify DNS cache timeouts (or even whether or not to 
use caching) with HttpClient?  I wasn't able to find any information on 
this topic anywhere.

I am setting the appropriate properties to restrict DNS caching through 
Java core methods (setting "sun.net.inetaddr.ttli" and 
"networkaddress.cache.ttl¨) but so far I have not seen any effect.


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

View raw message