Hi Govardhan,
It’s probably Java that is caching the DNS (name lookups). You may try setting the “networkaddress.cache.ttl” in the </path/to/CA_WA_Agent/jre/lib/security/java.security file to a shorter duration (60 seconds).
Excerpt from the java.security file:
#
The Java-level namelookup cache policy for successful lookups:
#
any negative value: caching forever
any positive value: the number of seconds to cache an address for
zero: do not cache
#
default value is forever (FOREVER). For security reasons, this
caching is made forever when a security manager is set. When a security
manager is not set, the default behavior in this implementation
is to cache for 30 seconds.
#
NOTE: setting this to anything other than the default value can have
serious security implications. Do not set it unless
you are sure you are not exposed to DNS spoofing attack.
#
#networkaddress.cache.ttl=-1
If you prefer to have this coded in the agentparm.txt file instead, then try set the following and restart the System agent
oscomponent.jvm.x.options=-Dsun.net.inetaddr.ttl=60
Note: If you already have oscomponent.jvm.x.options set, then append “;-Dsun.net.inetaddr.ttl=60” to it instead of replacing the existing parameter.
Thanks & Regards,
Chandru