Results 1 to 3 of 3
- 01-29-2013, 10:12 PM #1
Member
- Join Date
- Jan 2013
- Posts
- 1
- Rep Power
- 0
(Android) Printing/Clearing DNS Cache...
This is a a multi-part question in which I know I am entirely over my head for. Java isn't my native coding language but I need some help developing an app the interfaces with the windows application that I have already built for work.
What I am trying to accomplish is to get fairly accurate information about when and what DNS servers that an android device is trying to reach out too (I have been using TCPDump, but I want to get away from it and integrate my own system). The best solution that I could come up with was to get the DNS cache off of an android device, then clear the cache, then wait awhile and request the cache again, etc.. I know that the cache is not at the OS level (otherwise I would just use shell to access it), but instead it's stored at the Java level (this is where I need some hints).
Im pretty sure that everything that I need to know is in the java.net.InetAddress()
Ive been looking through it at grepcode: but I am having trouble figuring out where I need to start.
What I need in the application is:
1.) To be able to send an intent to clear DNS Cache from a windows application.
2.) To be able to send an intent to dump DNS Cache to a textfile somewhere on the device from a windows application.
or (If its entirely possible)
1.) Just keep appending to an text file, on the device, as DNS attempts come in.
I'm not asking for a free cookie (necessarily), just a kick in the pants pointing me in a direction or to somethings that I can research.
As always, any and all help is always appreciated.
Thanks,
ZachLast edited by zmcpherson; 01-29-2013 at 10:38 PM.
- 01-30-2013, 05:38 PM #2
Re: (Android) Printing/Clearing DNS Cache...
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 01-30-2013, 05:40 PM #3
Re: (Android) Printing/Clearing DNS Cache...
Cross posted
java - Android DNS Cache - Stack Overflow
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Clearing up a GUI
By Alpa in forum New To JavaReplies: 6Last Post: 01-31-2012, 02:55 PM -
Having problems clearing an arrayList
By zenitis in forum New To JavaReplies: 8Last Post: 05-05-2011, 09:29 PM -
Dialog box clearing graphics
By theborland in forum Java AppletsReplies: 1Last Post: 12-03-2010, 07:27 PM -
emptying/clearing an array
By i8java in forum New To JavaReplies: 2Last Post: 08-09-2010, 01:39 PM -
Help Clearing BufferedImage
By ketann in forum Java 2DReplies: 19Last Post: 03-29-2010, 07:45 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks