Commit 39f46be
committed
Disable JVM DNS caching in favor of BOSH DNS
BOSH DNS is always present in Cloud Foundry and provides its own caching
layer. Setting networkaddress.cache.ttl=0 ensures the JVM always queries
BOSH DNS for fresh results, avoiding stale DNS entries when containers
restart or scale.
This restores parity with the Ruby buildpack's networking.rb behavior.1 parent 84aad66 commit 39f46be
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
0 commit comments