Very important DNS resolver fix.

This commit is contained in:
Revertron
2021-03-30 20:50:20 +02:00
parent 7e4e905e86
commit a4ecb1f0f7
2 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ impl DnsFilter for BlockchainFilter {
// Create DnsPacket
let mut packet = DnsPacket::new();
packet.header.authoritative_answer = true;
packet.header.rescode = ResultCode::NXDOMAIN;
packet.header.rescode = ResultCode::NOERROR;
packet.questions.push(DnsQuestion::new(String::from(qname), qtype));
packet.authorities.push(DnsRecord::SOA {
domain: zone,