Skip to main content
Version: Release 24.3

Security Properties File

The /xl-release-server-home/conf/security.properties file lets you override some of the default JVM settings based on your requirements. For example, you can override the default JVM values for parameters such as the networkaddress.cache.ttl, networkaddress.cache.negative.ttl.

Configuring the DNS Time-to-Live (TTL)

The Release Java Virtual Machine (JVM) implements DNS caching to optimize hostname resolution performance. When the JVM resolves a hostname to an IP address, it stores this resolution in a cache for a configurable period, known as the Time-to-Live (TTL).

To improve network performance, you can adjust the TTL value for DNS caching.

  1. Open the /xl-release-server-home/conf/security.properties file in an editor.
  2. Add the networkaddress.cache.ttl property (default value is 30 seconds) to the security.properties file.
networkaddress.cache.ttl=30
TTL Values
  • Setting TTL to -1 configures permanent caching
  • Setting TTL to 0 disables caching entirely
  • Any positive value represents the cache duration in seconds
  1. Save the security.properties file.