mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 01:59:26 +00:00
The RR type 0 is a reserved type for SIG[1] resource record. It should not be ever inserted into the database nor queried. Add a special handling to bail out quickly with DNS_R_DISALLOWED when inserting and ISC_R_NOTFOUND when looking up TYPE0. This is also prerequisite for stricter checks in the follow-up commit. 1. https://www.rfc-editor.org/rfc/rfc2535#section-4.1.8.1