Skip to content

Commit fc71290

Browse files
Edits
1 parent ce837a4 commit fc71290

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

articles/storage/blobs/storage-blob-java-get-started.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,7 @@ For information about how to obtain account keys and best practice guidelines fo
180180

181181
## Configure the JVM TTL for DNS name lookups
182182

183-
The Java Virtual Machine (JVM) caches responses from successful DNS name lookups for a specified period of time, known as time-to-live (TTL). The default TTL value for many JVMs is `-1`, which means that the JVM caches the response indefinitely, or until the JVM is restarted.
184-
185-
Because Azure resources use DNS names that can change, we recommend that you set the JVM TTL value to X seconds. This configuration ensures that any updated IP addresses for resources are returned with the next DNS query. You can change the TTL value by setting the `networkaddress.cache.ttl` system property.
183+
The Java Virtual Machine (JVM) caches responses from successful DNS name lookups for a specified period of time, known as time-to-live (TTL). The default TTL value for many JVMs is `-1`, which means that the JVM caches the response indefinitely, or until the JVM is restarted. Because Azure resources use DNS name entries that can change, we recommend that you set the JVM TTL value to X seconds. This configuration ensures that an updated IP address for a resource is returned with the next DNS query.
186184

187185
To change the TTL value globally for all applications using the JVM, set the `networkaddress.cache.ttl` property in the `java.security` file.
188186

0 commit comments

Comments
 (0)