Mantis - Resin
Viewing Issue Advanced Details
4903 minor always 12-21-11 09:42 02-21-12 17:01
cowan  
ferg  
high  
closed 4.0.24  
fixed  
none    
none 4.0.26  
0004903: Resin must be restarted to pickup DNS change
Resin started with HttpProxyServlet with host not in DNS. DNS entry later added. Resin had to be restarted to pickup DNS change.
Rep by B. Plump

Notes
(0005668)
TheScrumMeister   
12-27-11 10:47   
This is likely due to the JVM internal DNS cache.

Try adding this JVM startup argument to the <server> configuration node:
<jvm-arg>-Dsun.net.inetaddr.ttl=1</jvm-arg>

For more info see http://docs.oracle.com/javase/1.4.2/docs/guide/net/properties.html#nct [^]