bind9/bin/tests/system/serve-stale
Mark Andrews de519cd1c9 Don't leak the original QTYPE to parent zone
When performing QNAME minimization, named now sends an NS
query for the original QNAME, to prevent the parent zone from
receiving the QTYPE.

For example, when looking up example.com/A, we now send NS queries
for both com and example.com before sending the A query to the
servers for example.com.  Previously, an A query for example.com
would have been sent to the servers for com.

Several system tests needed to be adjusted for the new query pattern:

- Some queries in the serve-stale test were sent to the wrong server.
- The synthfromdnssec test could fail due to timing issues; this
  has been addressed by adding a 1-second delay.
- The cookie test could fail due to the a change in the count of
  TSIG records received in the "check that missing COOKIE with a
  valid TSIG signed response does not trigger TCP fallback" test case.
- The GL #4652 regression test case in the chain system test depends
  on a particular query order, which no longer occurs when QNAME
  minimization is active. We now disable qname-minimization
  for that test.
2025-03-14 01:01:26 +00:00
..
ans2 Fix gratuitious DNS protocol errors in the ANS servers 2025-02-04 12:49:50 +11:00
ns1 change allow-transfer default to "none" 2024-06-05 10:50:06 -07:00
ns3 Disallow stale-answer-client-timeout non-zero values 2024-02-16 08:41:52 +00:00
ns4 explicitly set dnssec-validation in system tests 2023-06-26 13:41:56 -07:00
ns5 explicitly set dnssec-validation in system tests 2023-06-26 13:41:56 -07:00
ns6 Stop sending queries to the internet's root servers 2023-12-18 23:46:03 +00:00
.gitignore Remove ans.pl system test files from gitignore 2022-12-23 13:44:18 +01:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
setup.sh Remove invocations and mentions of clean.sh 2024-11-08 10:54:24 +01:00
tests.sh Don't leak the original QTYPE to parent zone 2025-03-14 01:01:26 +00:00
tests_sh_serve_stale.py Don't leak the original QTYPE to parent zone 2025-03-14 01:01:26 +00:00