add reminder to remove minidns workarounds once those are fixed

This commit is contained in:
Daniel Gultsch 2017-07-14 09:09:26 +02:00
parent ea6b756c0f
commit 91119ab691
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ public class Resolver {
} }
List<Result> list = new ArrayList<>(); List<Result> list = new ArrayList<>();
try { try {
//TODO fix the DNSName.from(srv.name.toString() workaround once minidns 0.2.2 is out
ResolverResult<D> results = resolveWithFallback(DNSName.from(srv.name.toString()),type, authenticated); ResolverResult<D> results = resolveWithFallback(DNSName.from(srv.name.toString()),type, authenticated);
for (D record : results.getAnswersOrEmptySet()) { for (D record : results.getAnswersOrEmptySet()) {
Result resolverResult = Result.fromRecord(srv, directTls); Result resolverResult = Result.fromRecord(srv, directTls);