Commit graph

4 commits

Author SHA1 Message Date
Ondřej Surý
9771df0aca Disallow configuration of user-defined non-IN class views
Only class IN is allowed for user-defined views; the internally
generated `_bind` view stays in the CH class. Both `named` and the
shared checker in `lib/isccfg/check.c` now reject non-IN views, so a
config can no longer pass `named-checkconf` yet fail to start in
`named`.

Tests, configs, and catalog zones using CH or arbitrary classes
(e.g. `class10`) are removed accordingly.
2026-06-08 17:50:15 +02:00
Evan Hunt
bb24573580
Test server behavior when sending various UPDATE requests
Send update messages for zones with CLASS0, ANY and NONE.  The class
ANY UPDATE also attempts to delete a KX record in an existing IN
class zone to trigger a REQUIRE.

Test that the server is still running.
2026-05-07 13:32:15 +02:00
Evan Hunt
3b596adbd2
Test UPDATE behavior in CHAOS and other non-IN classes
Send various UPDATE requests that are known to have caused
crashes previously with deliberately misconfigured non-IN
zones; confirm that UPDATE is not processed.
2026-05-07 13:32:15 +02:00
Evan Hunt
dd4af20dc8
Test CHAOS view recursion behavior
Check that recursive and forward queries to views of type CHAOS
are REFUSED, but that authoritative queries are answered correctly.
2026-05-07 13:32:15 +02:00