mirror of https://github.com/M66B/FairEmail.git
Require auth for dnssec
This commit is contained in:
parent
80d0e7b169
commit
ab02df1106
|
@ -195,7 +195,8 @@ public class DnsHelper {
|
||||||
|
|
||||||
client.getDataSource().setTimeout(timeout * 1000);
|
client.getDataSource().setTimeout(timeout * 1000);
|
||||||
|
|
||||||
client.setDataSource(new AuthoritiveDataSource(client.getDataSource()));
|
if (!dnssec)
|
||||||
|
client.setDataSource(new AuthoritiveDataSource(client.getDataSource()));
|
||||||
|
|
||||||
// https://github.com/MiniDNS/minidns/issues/102
|
// https://github.com/MiniDNS/minidns/issues/102
|
||||||
if (client instanceof DnssecClient && dns_custom)
|
if (client instanceof DnssecClient && dns_custom)
|
||||||
|
|
Loading…
Reference in New Issue