bind9/bin
Evan Hunt 04092ed136
Disable UPDATE and NOTIFY for non-IN classes
Return NOTIMP for UPDATE and NOTIFY requests received for views with a
class other than IN.  Only QUERY is now supported for non-IN views such
as CHAOS.

When running dns dns_rdata_tostruct() with types that are only defined
for class IN, ensure that the class is correct before proceeding.

Add an assertion that any zone being updated is of class IN. (Note
that previously, a DLZ zone could have its class value set incorrectly
to NONE; this has been fixed.)

This addresses YWH-PGM40640-70 and YWH-PGM40640-73 (as well as any
similar problems that might have occurred in the future) by minimizing
the code paths that can be reached by rdata classes other than IN, so it
is safe for the implementation to assume that rdatatypes that are only
defined for class IN, such as SVCB or WKS, have been parsed and
validated, and not accepted as unknown/opaque data.

Fixes: isc-projects/bind9#5777
Fixes: isc-projects/bind9#5779

(cherry picked from commit a6d8e330ed6cf0021bff3f00aa1dc7a296f5aec0)
2026-05-07 13:21:59 +02:00
..
check Resolve ERR_MISSING_GLUE / ERR_EXTRA_AAAA value collision 2026-04-29 15:32:03 +00:00
confgen Size HMAC key generation buffers to the maximum block size 2026-04-30 06:01:01 +02:00
delv Use const pointer with strchr of const pointer 2026-01-20 06:00:56 +00:00
dig Document that query options are order sensitive 2026-02-09 22:47:20 +00:00
dnssec Fix dnssec-signzone usage output 2026-03-23 09:36:54 +00:00
named Disable UPDATE and NOTIFY for non-IN classes 2026-05-07 13:21:59 +02:00
nsupdate nsupdate does not handle zero length RDATA well 2026-04-09 00:34:20 +00:00
plugins standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
rndc document config option dependency for showzone 2025-10-23 20:11:45 +00:00
tests Disable recursion for non-IN classes 2026-05-07 13:21:59 +02:00
tools Use const pointer with strchr of const pointer 2026-01-20 06:00:56 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00