Querying the DNS service records to find the hostname and TCP/IP

后端 未结 4 1426
无人及你
无人及你 2021-01-02 18:47

In a paper about the Life Science Identifiers (see LSID Tester, a tool for testing Life Science Identifier resolution services), Dr Roderic DM Page wrote :

4条回答
  •  佛祖请我去吃肉
    2021-01-02 19:34

    I think you can't do it without using some external libraries. java.util.InetAddress has some methods to resolve names via DNS, but it's only usable for resolving names into IP addresses and not for generic DNS querying.

    For that, you need some external library like DNSJava.

提交回复
热议问题