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
java.net.InetAddress.GetByName(String host)
A
I don't think it's possible for general case. For WiFi I found this:
WiFiManager wifi = (WifiManager) getSystemService(WIFI_SERVICE); DhcpInfo info = wifi.getDhcpInfo();