1
0
Fork 1

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:
Stephen Paul Weber 2024-10-30 09:28:55 -05:00 committed by Arne
parent f7d810999d
commit 2815139645

View file

@ -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) {