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
InetAddress doesn't do this, but you can accomplish DNS TXT record lookups in Java via the JNDI DNS provider.
InetAddress