bind9/bin
Matthijs Mekking 9b47b37df9 Test serve-stale with upstream zones and CNAMEs
Three variants of YWH-PGM40640-56: Stale/Wrong DNS Data Served via
CNAME Flag Leak (DNS_DBFIND_STALEOK persistence) are presented in
GitLab issue #5751. All these variants have been converted to system
tests.

Variant 1 forwards source.stale to another server, that provides a
CNAME record, while the resolver is authoritative for target.stale.
The CNAME points to a non-existing name. A stale CNAME record should
result in a stale NXDOMAIN (instead of SERVFAIL).

Variant 2 forwards both source.stale and target.stale to other servers.
This time the CNAME points to an A RRset. If the source.stale server
is not available (and stale-answer-client-timeout is off), the cached
CNAME should be followed and pick up the fresh RRset (instead of the
stale A RRset).

Variant 3 is similar to variant 2, but this time the CNAME points to
a non-existing name again. After flushing the target, BIND should
return a stale NXDOMAIN (instead of SERVFAIL).

(cherry picked from commit c32de7df95)
2026-02-25 17:17:07 +01:00
..
check standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
confgen Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01: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 Add dnssec-policy text for dnssec-importkey 2025-10-10 17:36:04 +00:00
named standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
nsupdate Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01: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 Test serve-stale with upstream zones and CNAMEs 2026-02-25 17:17:07 +01: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