Tomcat DNS Cache

이희구·2023년 1월 9일

개발

목록 보기
3/8

아래와 같은 Properties 값이 설정이 되어 있지 않으면,
Tomcat 은 데몬이 Restart되기 전까지 영구적으로 DNS 정보를 캐싱합니다.


networkaddress.cache.ttl (default: -1)
Specified in java.security to indicate 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.
A value of -1 indicates "cache forever".
__
networkaddress.cache.negative.ttl (default: 10)
Specified in java.security to indicate the caching policy for un-successful name lookups from the name service.. The value is specified as as integer to indicate the number of seconds to cache the failure for un-successful lookups.
A value of 0 indicates "never cache". A value of -1 indicates "cache forever".

profile
아쿠아믿으세요

0개의 댓글