forked from mirror/monocles_chat
Disable hardcoded dns on both sides
I thought it had been enabled on both sides but at least make it the same. (cherry picked from commit 594ac51167a6a6a89be61365287c24944d052d10)
This commit is contained in:
parent
2c6904bb87
commit
fbe1d7c015
1 changed files with 4 additions and 0 deletions
|
@ -238,6 +238,10 @@ public class Resolver {
|
|||
if (client instanceof ReliableDnsClient) {
|
||||
((ReliableDnsClient) client).setUseHardcodedDnsServers(false);
|
||||
}
|
||||
final AbstractDnsClient dnssecclient = DnssecResolverApi.INSTANCE.getClient();
|
||||
if (client instanceof ReliableDnsClient) {
|
||||
((ReliableDnsClient) client).setUseHardcodedDnsServers(false);
|
||||
}
|
||||
}
|
||||
|
||||
public static List<Result> fromHardCoded(final String hostname, final int port) {
|
||||
|
|
Loading…
Reference in a new issue