Permalink
Browse files

Move MiniDNS package from de.measite.minidns into org.minidns

  • Loading branch information...
Flowdalic committed Mar 27, 2018
1 parent 0fd700d commit e9970f85131b2c0d5edf3316740e995d5cca5fa1
Showing with 723 additions and 723 deletions.
  1. +1 −1 .gitignore
  2. +2 −2 README.md
  3. +1 −1 build.gradle
  4. +3 −3 ...rc/main/java/{de/measite → org}/minidns/dnsserverlookup/android21/AndroidUsingLinkProperties.java
  5. +1 −1 ...est/java/{de/measite → org}/minidns/dnsserverlookup/android21/AndroidUsingLinkPropertiesTest.java
  6. +8 −8 minidns-async/src/main/java/{de/measite → org}/minidns/source/async/AsyncDnsRequest.java
  7. +4 −4 minidns-async/src/main/java/{de/measite → org}/minidns/source/async/AsyncNetworkDataSource.java
  8. +1 −1 minidns-async/src/main/java/{de/measite → org}/minidns/source/async/ChannelSelectedHandler.java
  9. +1 −1 minidns-async/src/test/java/{de/measite → org}/minidns/source/async/AsyncNetworkDataSourceTest.java
  10. +12 −12 minidns-client/src/main/java/{de/measite → org}/minidns/AbstractDNSClient.java
  11. +1 −1 minidns-client/src/main/java/{de/measite → org}/minidns/DNSCache.java
  12. +12 −12 minidns-client/src/main/java/{de/measite → org}/minidns/DNSClient.java
  13. +1 −1 minidns-client/src/main/java/{de/measite → org}/minidns/MiniDNSConfiguration.java
  14. +1 −1 minidns-client/src/main/java/{de/measite → org}/minidns/MiniDNSException.java
  15. +2 −2 minidns-client/src/main/java/{de/measite → org}/minidns/MiniDNSInitialization.java
  16. +4 −4 minidns-client/src/main/java/{de/measite → org}/minidns/MiniDnsFuture.java
  17. +6 −6 minidns-client/src/main/java/{de/measite → org}/minidns/cache/ExtendedLRUCache.java
  18. +5 −5 minidns-client/src/main/java/{de/measite → org}/minidns/cache/FullLRUCache.java
  19. +6 −6 minidns-client/src/main/java/{de/measite → org}/minidns/cache/LRUCache.java
  20. +2 −2 minidns-client/src/main/java/{de/measite → org}/minidns/cache/MiniDnsCacheFactory.java
  21. +1 −1 ...nt/src/main/java/{de/measite → org}/minidns/dnsserverlookup/AbstractDNSServerLookupMechanism.java
  22. +2 −2 minidns-client/src/main/java/{de/measite → org}/minidns/dnsserverlookup/AndroidUsingExec.java
  23. +2 −2 minidns-client/src/main/java/{de/measite → org}/minidns/dnsserverlookup/AndroidUsingReflection.java
  24. +2 −2 ...dns-client/src/main/java/{de/measite → org}/minidns/dnsserverlookup/DNSServerLookupMechanism.java
  25. +2 −2 minidns-client/src/main/java/{de/measite → org}/minidns/dnsserverlookup/UnixUsingEtcResolvConf.java
  26. +5 −5 minidns-client/src/main/java/{de/measite → org}/minidns/source/DNSDataSource.java
  27. +4 −4 minidns-client/src/main/java/{de/measite → org}/minidns/source/NetworkDataSource.java
  28. +3 −3 minidns-client/src/main/java/{de/measite → org}/minidns/source/NetworkDataSourceWithAccounting.java
  29. +12 −12 minidns-client/src/test/java/{de/measite → org}/minidns/DNSClientTest.java
  30. +22 −22 minidns-client/src/test/java/{de/measite → org}/minidns/DNSWorld.java
  31. +5 −5 minidns-client/src/test/java/{de/measite → org}/minidns/LRUCacheTest.java
  32. +1 −1 minidns-client/src/test/java/{de/measite → org}/minidns/dnsserverlookup/AndroidUsingExecTest.java
  33. +2 −2 minidns-client/src/test/java/{de/measite → org}/minidns/source/NetworkDataSourceTest.java
  34. +1 −1 minidns-core/build.gradle
  35. +4 −4 minidns-core/src/main/java/{de/measite → org}/minidns/DNSMessage.java
  36. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/DNSName.java
  37. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/DNSSECConstants.java
  38. +7 −7 minidns-core/src/main/java/{de/measite → org}/minidns/EDNS.java
  39. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/InvalidDNSNameException.java
  40. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/Question.java
  41. +4 −4 minidns-core/src/main/java/{de/measite → org}/minidns/RRSet.java
  42. +24 −24 minidns-core/src/main/java/{de/measite → org}/minidns/Record.java
  43. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/ALabel.java
  44. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/DNSLabel.java
  45. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/FakeALabel.java
  46. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/LdhLabel.java
  47. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/LeadingOrTrailingHyphenLabel.java
  48. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/NonLdhLabel.java
  49. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/NonReservedLdhLabel.java
  50. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/OtherNonLdhLabel.java
  51. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/ReservedLdhLabel.java
  52. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/UnderscoreLabel.java
  53. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/dnslabel/XnLabel.java
  54. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/edns/EDNSOption.java
  55. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/edns/NSID.java
  56. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/edns/UnknownEDNSOption.java
  57. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/idna/DefaultIdnaTransformator.java
  58. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/idna/IdnaTransformator.java
  59. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/idna/MiniDnsIdna.java
  60. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/A.java
  61. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/AAAA.java
  62. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/CNAME.java
  63. +4 −4 minidns-core/src/main/java/{de/measite → org}/minidns/record/DLV.java
  64. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/DNAME.java
  65. +4 −4 minidns-core/src/main/java/{de/measite → org}/minidns/record/DNSKEY.java
  66. +4 −4 minidns-core/src/main/java/{de/measite → org}/minidns/record/DS.java
  67. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/record/Data.java
  68. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/DelegatingDnssecRR.java
  69. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/record/InternetAddressRR.java
  70. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/MX.java
  71. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/NS.java
  72. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/NSEC.java
  73. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/NSEC3.java
  74. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/NSEC3PARAM.java
  75. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/OPENPGPKEY.java
  76. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/OPT.java
  77. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/PTR.java
  78. +5 −5 minidns-core/src/main/java/{de/measite → org}/minidns/record/RRSIG.java
  79. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/record/RRWithTarget.java
  80. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/SOA.java
  81. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/record/SRV.java
  82. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/record/TLSA.java
  83. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/record/TXT.java
  84. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/record/UNKNOWN.java
  85. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/Base32.java
  86. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/Base64.java
  87. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/CallbackRecipient.java
  88. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/CollectionsUtil.java
  89. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/ExceptionCallback.java
  90. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/Hex.java
  91. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/util/InetAddressUtil.java
  92. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/MultipleIoException.java
  93. +2 −2 minidns-core/src/main/java/{de/measite → org}/minidns/util/NameUtil.java
  94. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/PlatformDetection.java
  95. +3 −3 minidns-core/src/main/java/{de/measite → org}/minidns/util/SrvUtil.java
  96. +1 −1 minidns-core/src/main/java/{de/measite → org}/minidns/util/SuccessCallback.java
  97. +1 −1 minidns-core/src/test/java/{de/measite → org}/minidns/Assert.java
  98. +24 −24 minidns-core/src/test/java/{de/measite → org}/minidns/DNSMessageTest.java
  99. +3 −3 minidns-core/src/test/java/{de/measite → org}/minidns/DNSNameTest.java
  100. +2 −2 minidns-core/src/test/java/{de/measite → org}/minidns/dnslabel/DNSLabelTest.java
  101. +7 −7 minidns-core/src/test/java/{de/measite → org}/minidns/record/RecordsTest.java
  102. +1 −1 minidns-core/src/test/java/{de/measite → org}/minidns/util/Base32Test.java
  103. +1 −1 minidns-core/src/test/java/{de/measite → org}/minidns/util/Base64Test.java
  104. +2 −2 minidns-core/src/test/java/{de/measite → org}/minidns/util/InetAddressUtilTest.java
  105. +1 −1 minidns-core/src/test/java/{de/measite → org}/minidns/util/NameUtilTest.java
  106. +2 −2 minidns-core/src/test/java/{de/measite → org}/minidns/util/SrvUtilTest.java
  107. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/codinghorror-txt
  108. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/com-ds-rrsig
  109. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/com-ns
  110. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/com-nsec3
  111. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/example-nsec
  112. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/gmail-mx
  113. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/google-aaaa
  114. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/gpn-srv
  115. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/oracle-soa
  116. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/root-dnskey
  117. BIN minidns-core/src/test/resources/{de/measite → org}/minidns/sun-a
  118. +3 −3 minidns-dane-java7/src/main/java/{de/measite → org}/minidns/dane/java7/DaneExtendedTrustManager.java
  119. +1 −1 minidns-dane-java7/src/test/java/{de/measite → org}/minidns/dane/java7/DaneJava7Test.java
  120. +2 −2 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dane/DaneCertificateException.java
  121. +10 −10 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dane/DaneVerifier.java
  122. +1 −1 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dane/ExpectingTrustManager.java
  123. +20 −20 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/DNSSECClient.java
  124. +4 −4 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/DNSSECMessage.java
  125. +2 −2 ...dns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/DNSSECResultNotAuthenticException.java
  126. +4 −4 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/DNSSECValidationFailedException.java
  127. +1 −1 ...nssec/src/main/java/{de/measite → org}/minidns/dnssec/DNSSECValidatorInitializationException.java
  128. +1 −1 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/DigestCalculator.java
  129. +1 −1 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/SignatureVerifier.java
  130. +8 −8 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/UnverifiedReason.java
  131. +17 −17 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/Verifier.java
  132. +7 −7 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/AlgorithmMap.java
  133. +2 −2 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/DSASignatureVerifier.java
  134. +2 −2 ...dns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/ECDSASignatureVerifier.java
  135. +2 −2 ...ns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/ECGOSTSignatureVerifier.java
  136. +2 −2 ...ns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/JavaSecDigestCalculator.java
  137. +3 −3 ...s-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/JavaSecSignatureVerifier.java
  138. +2 −2 minidns-dnssec/src/main/java/{de/measite → org}/minidns/dnssec/algorithms/RSASignatureVerifier.java
  139. +30 −30 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/DNSSECClientTest.java
  140. +16 −16 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/DNSSECWorld.java
  141. +9 −9 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/VerifierTest.java
  142. +1 −1 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/algorithms/AlgorithmTest.java
  143. +6 −6 ...s-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/algorithms/DSASingatureVerifierTest.java
  144. +4 −4 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/algorithms/DigestTest.java
  145. +7 −7 ...s-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/algorithms/RSASignatureVerifierTest.java
  146. +5 −5 minidns-dnssec/src/test/java/{de/measite → org}/minidns/dnssec/algorithms/SignatureVerifierTest.java
  147. +13 −13 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/DnssecResolverApi.java
  148. +4 −4 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/ResolutionUnsuccessfulException.java
  149. +11 −11 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/ResolverApi.java
  150. +9 −9 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/ResolverResult.java
  151. +2 −2 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/SrvProto.java
  152. +9 −9 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/SrvResolverResult.java
  153. +2 −2 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/SrvService.java
  154. +1 −1 minidns-hla/src/main/java/{de/measite → org}/minidns/hla/SrvType.java
  155. +1 −1 minidns-hla/src/test/java/{de/measite → org}/minidns/hla/MiniDnsHlaTest.java
  156. +1 −1 minidns-integration-test/build.gradle
  157. +9 −9 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/AsyncApiTest.java
  158. +6 −6 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/CoreTest.java
  159. +7 −7 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/DNSSECTest.java
  160. +2 −2 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/DaneTest.java
  161. +5 −5 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/HlaTest.java
  162. +1 −1 ...ns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/IntegrationTest.java
  163. +4 −4 ...egration-test/src/main/java/{de/measite → org}/minidns/integrationtest/IntegrationTestHelper.java
  164. +7 −7 ...tegration-test/src/main/java/{de/measite → org}/minidns/integrationtest/IntegrationTestTools.java
  165. +8 −8 ...ntegration-test/src/main/java/{de/measite → org}/minidns/integrationtest/IterativeDNSSECTest.java
  166. +9 −9 minidns-integration-test/src/main/java/{de/measite → org}/minidns/integrationtest/NSIDTest.java
  167. +3 −3 minidns-integration-test/src/main/java/{de/measite → org}/minidns/jul/MiniDnsJul.java
  168. +1 −1 ...ntegration-test/src/test/java/{de/measite → org}/minidns/integrationtest/IntegrationTestTest.java
  169. +2 −2 ...erative-resolver/src/main/java/{de/measite → org}/minidns/iterative/IterativeClientException.java
  170. +17 −17 ...dns-iterative-resolver/src/main/java/{de/measite → org}/minidns/iterative/IterativeDNSClient.java
  171. +8 −8 minidns-iterative-resolver/src/main/java/{de/measite → org}/minidns/iterative/ReliableDNSClient.java
  172. +5 −5 minidns-iterative-resolver/src/main/java/{de/measite → org}/minidns/iterative/ResolutionState.java
  173. +13 −13 ...iterative-resolver/src/test/java/{de/measite → org}/minidns/iterative/IterativeDNSClientTest.java
  174. +13 −13 minidns-repl/scala.repl
  175. +10 −10 minidns-repl/src/main/java/{de/measite → org}/minidns/minidnsrepl/DNSSECStats.java
  176. +9 −9 minidns-repl/src/main/java/{de/measite → org}/minidns/minidnsrepl/MiniDNSStats.java
  177. +10 −10 minidns-repl/src/main/java/{de/measite → org}/minidns/minidnsrepl/MiniDnsRepl.java
  178. +1 −1 minidns-repl/src/test/java/{de/measite → org}/minidns/minidnsrepl/ReplTest.java
  179. +4 −4 misc/sbt/build.sbt
@@ -112,4 +112,4 @@ Temporary Items
.apdisk

# Auto generated version file
/minidns-core/src/main/resources/de.measite.minidns/version
/minidns-core/src/main/resources/org.minidns/version
@@ -19,7 +19,7 @@ Quickstart
The easiest way to use MiniDNS is by its high-level API provided by the minidns-hla Maven artifact. Simply add the artifact to your projects dependencies. For example with gradle

```groovy
compile "de.measite.minidns:minidns-hla:$minidnsVersion"
compile "org.minidns:minidns-hla:$minidnsVersion"
```

Then you can use the `ResolverApi` or `DnssecResolverApi` class to perform DNS lookups and check if the result was authenticated via DNSSEC. The following example shows a lookup of A records of 'verteiltesysteme.net'.
@@ -84,7 +84,7 @@ MiniDNS comes with a REPL which can be used to perform DNS lookups and to test t
minidns $ ./repl
...
scala> c query ("measite.de", TYPE.A)
res4: de.measite.minidns.DNSMessage = DNSMessage@54653(QUERY NO_ERROR qr rd ra) { \
res4: org.minidns.DNSMessage = DNSMessage@54653(QUERY NO_ERROR qr rd ra) { \
[Q: measite.de. IN A] \
[A: measite.de. 3599 IN A 85.10.226.249] \
[X: EDNS: version: 0, flags:; udp: 512]
@@ -26,7 +26,7 @@ allprojects {
apply plugin: 'checkstyle'
apply plugin: 'jacoco'

group = 'de.measite.minidns'
group = 'org.minidns'
description = "A minimal DNS client library with support for A, AAAA, NS and SRV records"
sourceCompatibility = 1.7
version = 'dev'
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup.android21;
package org.minidns.dnsserverlookup.android21;

import android.annotation.TargetApi;
import android.content.Context;
@@ -21,8 +21,8 @@
import java.util.ArrayList;
import java.util.List;

import de.measite.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism;
import de.measite.minidns.dnsserverlookup.AndroidUsingExec;
import org.minidns.dnsserverlookup.AbstractDNSServerLookupMechanism;
import org.minidns.dnsserverlookup.AndroidUsingExec;

/**
* Requires the ACCESS_NETWORK_STATE permission.
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup.android21;
package org.minidns.dnsserverlookup.android21;

import org.junit.Test;

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.source.async;
package org.minidns.source.async;

import java.io.IOException;
import java.net.InetAddress;
@@ -26,13 +26,13 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import de.measite.minidns.DNSMessage;
import de.measite.minidns.MiniDNSException;
import de.measite.minidns.MiniDnsFuture;
import de.measite.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import de.measite.minidns.source.DNSDataSource.OnResponseCallback;
import de.measite.minidns.source.DNSDataSource.QueryMode;
import de.measite.minidns.util.MultipleIoException;
import org.minidns.DNSMessage;
import org.minidns.MiniDNSException;
import org.minidns.MiniDnsFuture;
import org.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import org.minidns.source.DNSDataSource.OnResponseCallback;
import org.minidns.source.DNSDataSource.QueryMode;
import org.minidns.util.MultipleIoException;

public class AsyncDnsRequest {

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.source.async;
package org.minidns.source.async;

import java.io.IOException;
import java.net.InetAddress;
@@ -30,9 +30,9 @@
import java.util.logging.Level;
import java.util.logging.Logger;

import de.measite.minidns.DNSMessage;
import de.measite.minidns.MiniDnsFuture;
import de.measite.minidns.source.DNSDataSource;
import org.minidns.DNSMessage;
import org.minidns.MiniDnsFuture;
import org.minidns.source.DNSDataSource;

public class AsyncNetworkDataSource extends DNSDataSource {

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.source.async;
package org.minidns.source.async;

import java.io.IOException;
import java.nio.channels.SelectableChannel;
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.source.async;
package org.minidns.source.async;

import org.junit.Test;

@@ -8,18 +8,18 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;

import de.measite.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import de.measite.minidns.Record.CLASS;
import de.measite.minidns.Record.TYPE;
import de.measite.minidns.cache.LRUCache;
import de.measite.minidns.record.A;
import de.measite.minidns.record.AAAA;
import de.measite.minidns.record.Data;
import de.measite.minidns.record.NS;
import de.measite.minidns.source.DNSDataSource;
import de.measite.minidns.source.NetworkDataSource;
package org.minidns;

import org.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import org.minidns.Record.CLASS;
import org.minidns.Record.TYPE;
import org.minidns.cache.LRUCache;
import org.minidns.record.A;
import org.minidns.record.AAAA;
import org.minidns.record.Data;
import org.minidns.record.NS;
import org.minidns.source.DNSDataSource;
import org.minidns.source.NetworkDataSource;

import java.io.IOException;
import java.net.InetAddress;
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;
package org.minidns;

/**
* Cache for DNS Entries. Implementations must be thread safe.
@@ -8,18 +8,18 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;

import de.measite.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import de.measite.minidns.dnsserverlookup.AndroidUsingExec;
import de.measite.minidns.dnsserverlookup.AndroidUsingReflection;
import de.measite.minidns.dnsserverlookup.DNSServerLookupMechanism;
import de.measite.minidns.dnsserverlookup.UnixUsingEtcResolvConf;
import de.measite.minidns.util.CollectionsUtil;
import de.measite.minidns.util.ExceptionCallback;
import de.measite.minidns.util.InetAddressUtil;
import de.measite.minidns.util.SuccessCallback;
import de.measite.minidns.util.MultipleIoException;
package org.minidns;

import org.minidns.MiniDnsFuture.InternalMiniDnsFuture;
import org.minidns.dnsserverlookup.AndroidUsingExec;
import org.minidns.dnsserverlookup.AndroidUsingReflection;
import org.minidns.dnsserverlookup.DNSServerLookupMechanism;
import org.minidns.dnsserverlookup.UnixUsingEtcResolvConf;
import org.minidns.util.CollectionsUtil;
import org.minidns.util.ExceptionCallback;
import org.minidns.util.InetAddressUtil;
import org.minidns.util.SuccessCallback;
import org.minidns.util.MultipleIoException;

import java.io.IOException;
import java.net.Inet4Address;
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;
package org.minidns;

public class MiniDNSConfiguration {

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;
package org.minidns;

import java.io.IOException;

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;
package org.minidns;

import java.io.BufferedReader;
import java.io.IOException;
@@ -27,7 +27,7 @@
String miniDnsVersion;
BufferedReader reader = null;
try {
InputStream is = MiniDNSInitialization.class.getClassLoader().getResourceAsStream("de.measite.minidns/version");
InputStream is = MiniDNSInitialization.class.getClassLoader().getResourceAsStream("org.minidns/version");
reader = new BufferedReader(new InputStreamReader(is));
miniDnsVersion = reader.readLine();
} catch(Exception e) {
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns;
package org.minidns;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
@@ -22,9 +22,9 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

import de.measite.minidns.util.CallbackRecipient;
import de.measite.minidns.util.ExceptionCallback;
import de.measite.minidns.util.SuccessCallback;
import org.minidns.util.CallbackRecipient;
import org.minidns.util.ExceptionCallback;
import org.minidns.util.SuccessCallback;

public abstract class MiniDnsFuture<V, E extends Exception> implements Future<V>, CallbackRecipient<V, E> {

@@ -8,19 +8,19 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.cache;
package org.minidns.cache;

import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;

import de.measite.minidns.DNSMessage;
import de.measite.minidns.DNSName;
import de.measite.minidns.Question;
import de.measite.minidns.Record;
import de.measite.minidns.record.Data;
import org.minidns.DNSMessage;
import org.minidns.DNSName;
import org.minidns.Question;
import org.minidns.Record;
import org.minidns.record.Data;

/**
* A variant of {@link LRUCache} also using the data found in the sections for caching.
@@ -8,12 +8,12 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.cache;
package org.minidns.cache;

import de.measite.minidns.DNSName;
import de.measite.minidns.Question;
import de.measite.minidns.Record;
import de.measite.minidns.record.Data;
import org.minidns.DNSName;
import org.minidns.Question;
import org.minidns.Record;
import org.minidns.record.Data;

/**
* An <b>insecure</b> variant of {@link LRUCache} also using all the data found in the sections of an answer.
@@ -8,16 +8,16 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.cache;
package org.minidns.cache;

import java.util.LinkedHashMap;
import java.util.Map.Entry;

import de.measite.minidns.DNSCache;
import de.measite.minidns.DNSMessage;
import de.measite.minidns.DNSName;
import de.measite.minidns.Record;
import de.measite.minidns.record.Data;
import org.minidns.DNSCache;
import org.minidns.DNSMessage;
import org.minidns.DNSName;
import org.minidns.Record;
import org.minidns.record.Data;

/**
* LRU based DNSCache backed by a LinkedHashMap.
@@ -8,9 +8,9 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.cache;
package org.minidns.cache;

import de.measite.minidns.DNSCache;
import org.minidns.DNSCache;

public interface MiniDnsCacheFactory {

@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup;
package org.minidns.dnsserverlookup;

import java.net.InetAddress;
import java.util.ArrayList;
@@ -8,9 +8,9 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup;
package org.minidns.dnsserverlookup;

import de.measite.minidns.util.PlatformDetection;
import org.minidns.util.PlatformDetection;

import java.io.BufferedReader;
import java.io.IOException;
@@ -8,9 +8,9 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup;
package org.minidns.dnsserverlookup;

import de.measite.minidns.util.PlatformDetection;
import org.minidns.util.PlatformDetection;

import java.lang.reflect.Method;
import java.net.InetAddress;
@@ -8,7 +8,7 @@
* upon the condition that you accept all of the terms of either
* the Apache License 2.0, the LGPL 2.1+ or the WTFPL.
*/
package de.measite.minidns.dnsserverlookup;
package org.minidns.dnsserverlookup;

import java.util.List;

@@ -24,7 +24,7 @@
* Returns a List of String representing ideally IP addresses. The list must be modifiable.
* <p>
* Note that the lookup mechanisms are not required to assure that only IP addresses are returned. This verification is performed in
* when using {@link de.measite.minidns.DNSClient#findDNS()}.
* when using {@link org.minidns.DNSClient#findDNS()}.
* </p>
*
* @return a List of Strings presenting hopefully IP addresses.
Oops, something went wrong.

0 comments on commit e9970f8

Please sign in to comment.