// 设置DNS缓存时长: 秒
Security.setProperty("networkaddress.cache.ttl", "10");
Security.setProperty("networkaddress.cache.negative.ttl", "3");
Created
August 27, 2019 03:40
-
-
Save yangl/458cd287b28137009a575f5a26679f04 to your computer and use it in GitHub Desktop.
设置 DNS 名称查找的 JVM TTL https://docs.aws.amazon.com/zh_cn/sdk-for-java/v1/developer-guide/java-dg-jvm-ttl.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment