DNS_CACHE_TIMEOUT - UBROKER configuration option
Description
The DNS_CACHE_TIMEOUT option specifies the number of seconds that a DNS cached host entry remains valid.
When the host name resolver is asked to resolve a host name into an IP address, the host entry returned is saved in the DNS cache. The next call to resolve a host name will return the cached entry and not go back to the resolve. The cached entry is considered valid until the cache time-out period is reached.
The DNS cache provides a performance improvement as the resolution of a host name can take some time depending on the environment.
Usage
Method | Syntax | IBM i | UNIX | Windows | z/OS |
Configuration File Keyword | dns_cache_timeout seconds |
|
|
|
|
Value
seconds is the number of seconds that a DNS cached host entry remains valid.
A value of 0 disables caching of host entries.
Default is 120.