The java.net.InetAddress.GetByName(String host)
method can only return A
records so to lookup other record types I need to be able to send DNS queries
To get system properties of an android system, static methods in this class (android.os.SystemProperties) can be used. As it is not an open api, you can't compile it against the sdk. Work around is needed to do that, e.g. copy the code from AOSP to get thru the compilation. As this class is for internal use, do this at your own risk. Have fun.