How to configure DNS caching using networkaddress.cache.ttl ?
Issue
- How to set the value and what is a recommended value for the TTL -
networkaddress.cache.ttl? - What is the
JREcaching policy forJBoss EAP 6with oracleJDK 1.7? Is itforeveror does it time out? If it does time out what is that value ? - Will the JBoss container cause any issues if the
JVMDNS caching was turned off viajava.security.Security.setProperty("networkaddress.cache.ttl","0")?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
- 6
- OpenJDK, Oracle Java
- 1.8
- 11
- 1.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.