From e175681743fa18ea6e50b95e4390642a029271da Mon Sep 17 00:00:00 2001 From: Leo Vdw <48684914+DNS-Leo@users.noreply.github.com> Date: Thu, 21 Mar 2019 23:01:12 +0100 Subject: [PATCH] RKEY is missing algorithm field This RR type is missing a data field. draft-reid-dnsext-rkey-00 defines the data as flags (0) / protocol (1) / algorithm / key, and for these last two is refering to RFC4034 https://tools.ietf.org/html/draft-reid-dnsext-rkey-00 https://tools.ietf.org/html/rfc4034#section-2.1 --- pdns/dnsrecords.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsrecords.cc b/pdns/dnsrecords.cc index d89419e232..d1d491d0b1 100644 --- a/pdns/dnsrecords.cc +++ b/pdns/dnsrecords.cc @@ -397,6 +397,7 @@ CDNSKEYRecordContent::CDNSKEYRecordContent() {} boilerplate_conv(RKEY, 57, conv.xfr16BitInt(d_flags); conv.xfr8BitInt(d_protocol); + conv.xfr8BitInt(d_algorithm); conv.xfrBlob(d_key); ) RKEYRecordContent::RKEYRecordContent() {} -- 2.47.2