[JIRA] [subversion] (JENKINS-20462) Jenkins Caches (SVN) DNS Indefinitely
Ralph Bolton commented on JENKINS-20462 Jenkins Caches (SVN) DNS Indefinitely Oh wow - thanks for that. I never knew about this feature - I'll go ahead and set some suitable TTL. Having now read the doco, it looks like the JVM just asks the system for the names/addresses, so having a JVM TTL less than the DNS TTL won't mean actual lookups will take place because when the JVM asks the system, the system will just give it the cached record. Thanks again - I've got a few JVMs to go and modify now (not least our Jenkins boxes). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [subversion] (JENKINS-20462) Jenkins Caches (SVN) DNS Indefinitely
Ralph Bolton resolved JENKINS-20462 as Not A Defect Jenkins Caches (SVN) DNS Indefinitely Was incorrectly identified as a bug. It's actually a JVM feature Change By: Ralph Bolton (12/Dec/13 9:35 AM) Status: Open Resolved Resolution: NotADefect This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [subversion] (JENKINS-20462) Jenkins Caches (SVN) DNS Indefinitely
Youssuf ElKalay commented on JENKINS-20462 Jenkins Caches (SVN) DNS Indefinitely I don't think Jenkins caches DNS entries. The JVM does. Try running your container (Winstone or whatever you use) with this JVM flag -Dsun.net.inetaddr.ttl=0 See - this javadoc for more details - http://docs.oracle.com/javase/7/docs/api/java/net/InetAddress.html namely Two Java security properties control the TTL values used for positive and negative host name resolution caching: networkaddress.cache.ttl Indicates the caching policy for successful name lookups from the name service. The value is specified as as integer to indicate the number of seconds to cache the successful lookup. The default setting is to cache for an implementation specific period of time. A value of -1 indicates "cache forever". This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.