开发者

Function to check DNS server

开发者 https://www.devze.com 2023-03-25 08:56 出处:网络
Does Java has similar PHP function checkdnsrr ? http://php.net/manual/en/function.checkdnsrr.p开发者_运维问答hpThere\'s InetAddress.getAllByName although it doesn\'t allow you to specify the record t

Does Java has similar PHP function checkdnsrr ?

http://php.net/manual/en/function.checkdnsrr.p开发者_运维问答hp


There's InetAddress.getAllByName although it doesn't allow you to specify the record type.

If that's not enough for you, there are third party libraries around - the first one I found was dnsjava.

0

精彩评论

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