Moin Jordan, Jordan Michaels schrieb am 03.12.2010 um 10:39 (-0800):
> Would any of you be able to point me to some documentation on how > the JVM handles DNS resolving? I'm hoping there are JVM settings > that can be tweaked to help force the JVM to fail over to the > secondary resolver. > > I'm using version 1.6 JVM. Networking Properties http://download.oracle.com/javase/6/docs/technotes/guides/net/properties.html#nct networkaddress.cache.ttl […] A value of -1 indicates "cache forever". The default behavior is to cache forever when a security manager is installed, and to cache for an implementation specific period of time, when a security manager is not installed. So have you installed a security manager? Wondering myself what the default value is? sun.net.inetaddr.ttl This is a sun private system property which corresponds to networkaddress.cache.ttl. It takes the same value and has the same meaning, but can be set as a command-line option. However, the preferred way is to use the security property mentioned above. Still wondering. So is the "implementation specific period of time" the value taken from the OS? -- Michael Ludwig --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org