http://www.dnsjava.org/ might help.
Though, how it works on Android I don't know.... Record [] records = new Lookup("android.com", Type.NS).run(); for (int i = 0; i < records.length; i++) { MXRecord mx = (MXRecord) records[i]; System.out.println("Host " + mx.getTarget() + " has preference ", mx.getPriority()); } On 8 янв, 01:39, Mark Murphy <mmur...@commonsware.com> wrote: > On Fri, Jan 7, 2011 at 6:25 PM, RAJ <trra...@gmail.com> wrote: > > Is there a android SDK API to get DNS name servers from given URL, > > using WHOIS query? > > Not that I am aware of. > > > Or We will have to implement our own code and parse to decode the > > response? > > A simple Google search on: > > java whois > > turns up many possibilities. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.4 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en