Use reliable DNS client when not using DNSSEC

pull/214/head
M66B 9 months ago
parent 0c5c960588
commit f1215287e4

@ -182,7 +182,7 @@ public class DnsHelper {
throw new IllegalArgumentException(type);
}
ResolverApi resolver = DnssecResolverApi.INSTANCE;
ResolverApi resolver = (dnssec ? DnssecResolverApi.INSTANCE : ResolverApi.INSTANCE);
AbstractDnsClient client = resolver.getClient();
if (false) {

Loading…
Cancel
Save