Commit Graph

12 Commits

Author SHA1 Message Date
Rene Treffer f13813186f Add PTR record parsing 2014-07-22 23:22:50 +02:00
Rene Treffer f9f5069e52 Add missing javadoc / missing getter (getTTL) 2014-06-23 21:02:25 +02:00
Rene Treffer dcf62a8ac5 Prepare 0.1.0 snapshot 2014-06-22 16:36:19 +02:00
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
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