Information about the DNS cache introduced in Collector Framework 2.4

Article:TECH179785  |  Created: 2012-01-25  |  Updated: 2012-01-25  |  Article URL
Article Type
Technical Solution




With Collector Framework 2.4 new functionality has been added for caching resolved IP-addresses and hostnames.

Find below information about the hostNameCacheSize property.




There are 2 caches which are configured by the "hostNameCacheSize" property.

One is for ip-to-host resolution and one is for host-to-ip resolution. The lifetime (TTL) for each of them is 24 hours and they work independently.

To turn off those caches set the value of the "hostNameCacheSize" to 0.

The algorithm of resolving IP/host is the following:

 If IP/host to resolve is in the our cache then return it otherwise try to resolve it in the "hostResolveTimeout" time interval using the Java API. After this put any result into the cache.



Article URL

Terms of use for this information are found in Legal Notices