This is more about how JVM handles the DNS caching rather than xl-release/deploy.
If you haven’t customized XLR wrapper for JVM flag than by default it is picked via global java security setting forex
$ cat jdk1.8.0_201/jre/lib/security/java.security |grep ttl
If you want to customize as APP level then follow below:
You can do that by updating the Java Service Wrapper configuration file,
XLR_HOME/conf/xlr-wrapper-linux.conf depending on your underlying platform, and add the following line:
Replace XX with the next sequence number.
Hope this help