WIP: resolve: adjust srubbing of DNSSEC RRs from answer
(based atop !301 (merged))
Merge request reports
Activity
the first two commits are uninteresting here
Edited by Vladimír Čunát@vcunat I'm not really sure if this is solving particular problem (which one?) or if it refactoring to make it more maintainable (I hope) :-)
Should we rebase and merge it?
added needinfo label
No, this is about something else. In case the client doesn't send
+dnssec
, DNSSEC records should not be included. The RFC (linked in the diff) doesn't seem very clear about edge cases, but some edges in the current code feel weird to me, e.g.:$ kdig foo18g85.com NSEC3 ;; ->>HEADER<<- opcode: QUERY; status: NXDOMAIN; id: 41603 ;; Flags: qr rd ra; QUERY: 1; ANSWER: 0; AUTHORITY: 4; ADDITIONAL: 0 ;; QUESTION SECTION: ;; foo18g85.com. IN NSEC3 ;; AUTHORITY SECTION: com. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1588255325 1800 900 604800 86400 ck0pojmg874ljref7efn8430qvit8bsm.com. 86400 IN NSEC3 1 1 0 - ck0q1gin43n1arrc9osm6qpqr81h5m9a NS SOA RRSIG DNSKEY NSEC3PARAM 32e0lpu03e3eu6v9gq6vkv6l7is5ic4a.com. 86400 IN NSEC3 1 1 0 - 32e1tv6ovgh5i8kp6tjnn34ok0mjsvr6 NS DS RRSIG 3rl2q58205687c8i9kc9mv46dghcns45.com. 86400 IN NSEC3 1 1 0 - 3rl3odp8d910939i655b97gaqu6ve1q7 NS DS RRSIG
Still, the importance of this seems very low, which is why this MR remained without much attention.
Edited by Vladimír Čunát