Sun Java System Web Server 7.0 Update 6 Administrator's Configuration File Reference

dns-cache

The dns-cache element configures the DNS cache. This element may appear zero or one time within the server element. For more information, see server.

Subelements

The dns-cache element can contain the following subelements:

Table 3–17 List of dns-cache Subelements

Element 

Occurrences 

Description 

enabled

0 or 1 

Determines whether the server caches DNS lookup results. The default value is true.

max-age

0 or 1 

The maximum amount of time (in seconds) to cache a DNS lookup result. The value can be from 1 to 31536000. 

max-entries

0 or 1 

The maximum number of DNS lookup results to cache. The value can be from 32 to 32768. 

See Also