Previous Topic: Troubleshooting

Next Topic: No Root Permissions

DNS Caching in the SPS

Symptom:

I do not want the SPS to cache the DNS name look-up settings of the server.

Solution:

The SPS is configured by default to always cache the DNS settings of the server. To change this default behavior, adjust the networkaddress.ttl setting in the java.security file.

To modify how long the SPS caches the DNS settings

  1. Navigate to the directory sps_home\secure-proxy\JDK\1.5.0\jre\lib\security.
  2. Open the java.security file.
  3. Set the networkaddress.cache.ttl parameter to a positive integer. For example, networkaddress.cache.ttl=2
    networkaddress.ttl

    Specifies the duration, in seconds, for which the SPS caches the successful DNS name look-ups. The value for this directive should be any positive integer. A negative value indicates that the SPS will always cache the DNS settings.

    Default: -1