DNS query in JAVA

后端 未结 3 1284
一整个雨季
一整个雨季 2021-02-20 08:39

I am messing around with DNS services in Java - I am specifically trying to lookup all google.com addresses and display them in an array, similar to running a lookup using nsloo

3条回答
  •  余生分开走
    2021-02-20 08:45

    InetAddress doesn't do this, but you can accomplish DNS TXT record lookups in Java via the JNDI DNS provider.

提交回复
热议问题