开发者

Android javax.naming.* replacement?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜