Reputation: 32304
Does Java has similar PHP function checkdnsrr ?
http://php.net/manual/en/function.checkdnsrr.php
Upvotes: 2
Views: 1328
Reputation: 1503280
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