diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-08-13 22:54:16 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-08-13 22:54:16 +0200 |
commit | 50e26be0904a75f7dce1b02686350ab769085013 (patch) | |
tree | 8c27dc43bf47cfdd78c2091a32cdfaa89f2f7307 /src/main/java/de | |
parent | c449c5dcb84f0b4f2435103ceb4909ecac52e810 (diff) |
update mini dns
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/utils/Resolver.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/Resolver.java b/src/main/java/de/pixart/messenger/utils/Resolver.java index 83875b3eb..7e85258b2 100644 --- a/src/main/java/de/pixart/messenger/utils/Resolver.java +++ b/src/main/java/de/pixart/messenger/utils/Resolver.java @@ -113,8 +113,7 @@ public class Resolver { } List<Result> list = new ArrayList<>(); 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(srv.name, type, authenticated); for (D record : results.getAnswersOrEmptySet()) { Result resolverResult = Result.fromRecord(srv, directTls); resolverResult.authenticated = results.isAuthenticData() && authenticated; |