Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Disable DNS query for Tomcat tuning

Shulou Source: shulou.com Published: 2022-06-03 03:44:19 10月02日 Update

When the web application records the information of the client, it also records the IP address of the client or converts the machine name to the IP address through the domain name server. DNS queries take up the network and include the process of getting the corresponding IP from many remote or ineffective servers, which can take a certain amount of time. To eliminate the performance impact of DNS queries, we can close DNS queries by changing the value of the enableLookups parameter in the server.xml file to false:enableLookups= "false"

Tags: Query server service address client client function information parameter domain name application performance file method time machine program network process application Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Apple Shulou Information Linux