Require auth for dnssec

This commit is contained in:
M66B 2024-01-31 07:24:09 +01:00
parent 80d0e7b169
commit ab02df1106
1 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,8 @@ public class DnsHelper {
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
if (client instanceof DnssecClient && dns_custom)