Previous Topic: Unable to Log Federation Web Services Errors

Next Topic: Resource Request Fails


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 cache the DNS settings of the server. To change this default behavior, adjust the networkaddress.ttl setting in the java.security file.

Follow these steps:

  1. Navigate to the directory sps_home\secure-proxy\JDK\1.6.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. Enter a positive integer. If you enter a negative value, the SPS caches the DNS settings.

    Default: -1