开发者

Android javax.naming.* replacement?

开发者 https://www.devze.com 2023-02-24 23:39 出处:网络
I am trying to find an API for my android application that will replace the javax.naming package for DNS look up information.The java.net.InetAddress gives me some of the information that I need for m

I am trying to find an API for my android application that will replace the javax.naming package for DNS look up information. The java.net.InetAddress gives me some of the information that I need for my DNS tool, but fails to look up the MX and NS records.

Does anyone have a su开发者_JAVA百科ggestion on the API's I should be using to accomplish this?


A quick google finds:

http://www.dnsjava.org/

Does what you're looking for.


I have used JmDNS before with Android successfully.

From their webpage:

"JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks."

Would this provide what you are looking for?

0

精彩评论

暂无评论...
验证码 换一张
取 消