Reason:
Upon successful DNS lookup, AppManager, by default, caches the resolved IP forever.
Solution:
We should specify the amount of time a successful lookup should be cached. To do so, please do the following :
1. Navigate to 'AppManager/working/jre/lib/security' and open the 'java.security' file present there.
2. Search for the key 'networkaddress.cache.ttl'. By default, this key is commented.
3. Uncomment it and set the value to the number of seconds you wish to cache the successful lookup. A value of -1 indicates 'cache forever'.
4. Restart Applications Manager and check if the issue is resolved.