yangoofy created ZOOKEEPER-4811: ----------------------------------- Summary: When configuring the IP address of the zk server on the client side to connect to zk, the connection establishment time is high Key: ZOOKEEPER-4811 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4811 Project: ZooKeeper Issue Type: Bug Affects Versions: 3.7.1, 3.7.0 Reporter: yangoofy
When configuring the IP address of the zk server on the client side to connect to zk, the connection establishment time is high。Mainly because Obtaining the hostname of the address takes approximately 5 seconds. 3.4.6 has mechanism to safely avoid reverse DNS lookup,but 3.7 don't do that。 1.What's the reasone? 2.Can we modify the method StaticHostProvider/resolve() to avoid reverse DNS lookup? -- This message was sent by Atlassian Jira (v8.20.10#820010)