Commit graph

19 commits

Author SHA1 Message Date
Rene Treffer 0e484dd17f Add missing javadoc and review new code 2014-06-22 15:29:51 +02:00
Rene Treffer 028700efe0 Make sure we initialize big enough if s.o. chooses small values 2014-06-13 17:54:54 +02:00
Rene Treffer 8e848f7afd Switch to deticated DNSCache interface + reference LRU implementation. 2014-06-13 17:51:45 +02:00
Rene Treffer 4da60e7e20 Simplify cache and extend cache operations.
Remove the external cache dependency and use a simple LRU based on
LinkedHashMap.
Make it possible to get the parse time of DNSMessage, which means we
can evaluate the TTL later on :-)
2014-06-12 22:39:51 +02:00
Florian Schmaus 7dd8cfc6e6 Add Cache to minidns 2014-06-12 09:52:41 +02:00
Rene Treffer f66c0db63f Merge pull request #3 from Flowdalic/androidagnostic
Make minidns Android agnostic
2014-06-08 15:37:40 +02:00
Florian Schmaus 52807fe7c4 Log IOException 2014-06-08 13:57:50 +02:00
Florian Schmaus 315648382e Remove printStackTrace() calls
it's hard to assign those an app in the Android log. Better to use JUL.
2014-06-08 13:54:51 +02:00
Florian Schmaus defe519101 Close DatagramSocket using try-with-resources 2014-06-08 13:33:14 +02:00
Florian Schmaus 3236432c39 Make minidns Android agnostic
there is really no need for minidns to be Android exclusive. Replacing
the Android log API with JUL make minidns available for Android and Java
SE.
2014-06-08 13:27:25 +02:00
Rene Treffer 152be6eb1a Add gitignore 2014-04-13 21:12:45 +02:00
Rene Treffer 62a61c8df0 Allow querying specific dns server by name/ip and port 2014-04-03 22:38:44 +02:00
Rene Treffer 114bda4d3f Fix name in build.xml 2014-04-03 16:13:30 +02:00
Rene Treffer f1d50a5380 AndroidManifest.xml defines minSDK 9, set target sdk to the current one (19) 2014-04-03 16:12:08 +02:00
Rene Treffer 921674b3f1 Fix negative jump targets 2014-04-03 10:51:05 +02:00
Rene Treffer 8a8a7f3b0d Add an IDN equals method to check names 2014-04-03 10:28:24 +02:00
Rene Treffer 7d086eaf1a Export the record name 2014-04-03 10:05:32 +02:00
Rene Treffer d5cca3b3a4 Try various ways to get the dns settings 2014-04-02 22:45:57 +02:00
Rene Treffer 32b27c53e0 Initial commit 2014-04-02 22:00:32 +02:00