You can improve the performance of WebSphere® Application Server local host lookups by adding the com.ibm.cacheLocalHost custom Java™ Virtual Machine (JVM) property and setting it to true as shown:
com.ibm.cacheLocalHost=true
Setting this custom property value to true causes the host name that is returned from the underlying operating system to be cached.
For instructions about adding custom JVM properties, select the link that is associated with the installed version of WebSphere Application Server.