li4wang commented on code in PR #2320:
URL: https://github.com/apache/zookeeper/pull/2320#discussion_r2621664841


##########
zookeeper-server/pom.xml:
##########
@@ -190,6 +190,11 @@
       <artifactId>commons-io</artifactId>
       <scope>compile</scope>
     </dependency>
+    <dependency>
+      <groupId>dnsjava</groupId>

Review Comment:
   The standard `InetAddress` class is only capable of looking up DNS A or AAA 
records, but not SRV record.
   
   While Java JNDI can provide more advanced DNS operations, it lacks the 
convenience and robustness that the `dnsjava` library provides such as SRV 
record parsing, error handling, etc. 
   
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to