arcus-java-client
arcus-java-client copied to clipboard
FEAT: Add check DNS cache ttl method.
관련 이슈
https://github.com/jam2in/arcus-works/issues/487
변경된 구현
DNS cache TTL 값을 확인하는 법
- Security.getProperty(...)
- System.getProperty(...)
-
sun.net.InetAddressCachePolicy를 사용하는 경우, 리플렉션을 통한 get() 호출
Invalid 기준
- 가져온 DnsCacheTtl 값이 0 < ttl or ttl > 300 면 invalid 판정
@brido4125 DNS cache TTL 설정을 어떻게 확인하고 어떤 설정이면 invalid한 것인지 구현 설명을 PR 코멘트에 추가 바랍니다.