bind9/bin/tests/system/doth
Artem Boldariev 84b2141e69 doth system test: reduce number of contexts in ns3
This commit removes unused listen-on statements from the ns3 instance
in order to reduce the startup time. That should help with occasional
system test initialisation hiccups in the CI which happen because the
required instances cannot initialise in time.
2021-12-20 14:28:53 +02:00
..
ns1 Extend the 'doth' system test with another XoT-enabled secondary 2021-12-01 12:00:29 +02:00
ns2 DH-parameters loading support 2021-10-01 15:50:43 +03:00
ns3 doth system test: reduce number of contexts in ns3 2021-12-20 14:28:53 +02:00
ns4 Fix flakiness in the doth reconfig test 2021-12-20 14:28:53 +02:00
clean.sh Extend the 'doth' system test with another XoT-enabled secondary 2021-12-01 12:00:29 +02:00
example.axfr.good Parse and print HTTPS and SVCB records 2021-08-18 13:49:48 +10:00
README.curl add a max-age test to doth system test 2021-11-05 14:14:59 +02:00
setup.sh Fix flakiness in the doth reconfig test 2021-12-20 14:28:53 +02:00
stress_http_quota.py Increase the number of file descriptors for stress_http_quota.py 2021-10-20 19:41:25 +00:00
tests.sh Fix flakiness in the doth reconfig test 2021-12-20 14:28:53 +02:00

DoH query values that can be passed on the command line for testing
with curl can be obtained by encoding binary DNS messages into
base64url, with trailing '='s removed.

For example:

$ perl bin/tests/system/fromhex.pl << EOF | base64url
    # Transaction ID
    0001
    # Standard query
    0000
    # Questions: 1, Additional: 0
    0001 0000 0000 0000
    # QNAME: example
    07 6578616d706c65 00
    # Type: SOA
    0006
    Class: IN
    0001
EOF

This produces the string "AAEAAAABAAAAAAAAB2V4YW1wbGUAAAbFrMonAAE=". With
the trailing '=' removed, this can then be passed to curl:

curl "https://<server>/dns-query?dns=AAEAAAABAAAAAAAAB2V4YW1wbGUAAAbFrMonAAE"