diff --git a/src/message/resource_record.rs b/src/message/resource_record.rs index 78017e58..64ab9a0b 100644 --- a/src/message/resource_record.rs +++ b/src/message/resource_record.rs @@ -212,7 +212,7 @@ impl ResourceRecord { Rdata::TSIG(val) => ResourceRecord { name: DomainName::new(), rtype: Rrtype::TSIG, - rclass: Rclass::IN, + rclass: Rclass::ANY, ttl: 0 as u32, rdlength: 0 as u16, rdata: Rdata::TSIG(val),