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

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);