shantanuo
shantanuo

Reputation: 32296

Function to check DNS server

Does Java has similar PHP function checkdnsrr ?

http://php.net/manual/en/function.checkdnsrr.php

Upvotes: 2

Views: 1325

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1499660

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.

Upvotes: 4

Related Questions