bind9/bin/tests/system/forward
Michał Kępień 23bc8430d9
Use isctest.asyncserver in the "forward" test
Replace the custom DNS servers used in the "forward" system test with
new code based on the isctest.asyncserver module.

For ans6, instead of configuring the responses to send at runtime, set
them up when the server is started.  Make sure the server supports
toggling response sending at runtime to enable simulating forwarder
timeouts as required by one of the checks.

For ans11, put most of the responses to be provided by that server into
a zone file, only retaining code modifying zone-based answers in the
form of a response handler, to improve code readability.  Use explicit
domain names instead of variables as that server only handles a single
domain and fixed strings improve readability in this case.  Make sure
the server supports toggling response sending at runtime to enable
simulating forwarder timeouts as required by one of the checks.

Migrate sendcmd() and its uses to the new way of sending control queries
to custom servers used in system tests.
2025-04-11 09:18:50 -05:00
..
ans6 Use isctest.asyncserver in the "forward" test 2025-04-11 09:18:50 -05:00
ans11 Use isctest.asyncserver in the "forward" test 2025-04-11 09:18:50 -05:00
CA Remove trailing whitespace from all text files 2023-06-13 15:05:40 +02:00
ns1 Remove -n option from dnssec-keygen/keyfromlabel 2025-03-25 23:48:23 +00:00
ns2 forward: Check if TLS is working in FIPS mode 2023-04-03 12:44:27 +10:00
ns3 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns4 Add a statistics channel check in the forward system test 2024-09-16 08:23:12 +00:00
ns5 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns7 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns8 Use trust anchors with 'dnssec-validation yes' in system tests 2024-02-02 19:54:09 +00:00
ns9 Use DEFAULT_HMAC for rndc 2022-07-07 10:11:42 +10:00
ns10 explicitly set dnssec-validation in system tests 2023-06-26 13:41:56 -07:00
.gitignore Test query forwarding to DoT-enabled upstream servers 2023-01-20 14:45:30 +00:00
dhparam3072.pem Use FIPS compatible DH-param files 2024-12-04 18:08:51 +02:00
prereq.sh Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00
rfc1918-inherited.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rfc1918-notinherited.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
setup.sh Remove invocations and mentions of clean.sh 2024-11-08 10:54:24 +01:00
tests.sh Use isctest.asyncserver in the "forward" test 2025-04-11 09:18:50 -05:00
tests_sh_forward.py Use isctest.asyncserver in the "forward" test 2025-04-11 09:18:50 -05:00
ula-inherited.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
ula-notinherited.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00