If the limitations of InetAddress get you down, you can go the whole hog and interrogate your DNS Zone! Ever wanted to find out the MX record for a given domain programmatically? Now you can!
Came across this groovy little “dnsjava” library while looking into java mail servers. Download the source from http://www.dnsjava.org/
Even comes with a port of dig written in Java… This guy is very sharp!