bind9/bin/tests/system/doth
Artem Boldariev 746052031a Extend the 'doth' system test with another XoT-enabled secondary
This commit extends the 'doth' system test to include an additional
XoT-enabled secondary which uses the supported client-side 'tls'
parameters.
2021-12-01 12:00:29 +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 Extend the 'doth' system test with another XoT-enabled secondary 2021-12-01 12:00:29 +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 Extend the 'doth' system test with another XoT-enabled secondary 2021-12-01 12:00:29 +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 Extend the 'doth' system test with another XoT-enabled secondary 2021-12-01 12:00:29 +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"