Home | History | Annotate | only in /src/external/mpl/bind/dist/bin/tests/system/doth
Up to higher level directory
NameDateSize
CA/25-Feb-2026
conftest.py08-Apr-20261.2K
dhparam3072.pem21-May-2025595
example.axfr.good29-Jan-2026110.8K
example8.axfr.good29-Jan-2026113.4K
get_openssl_version.py22-Sep-2024526
ns1/17-Sep-2026
ns2/17-Sep-2026
ns3/17-Sep-2026
ns4/17-Sep-2026
ns5/17-Sep-2026
README.curl21-Feb-20241K
setup.sh29-Jan-2026716
stress_http_quota.py08-Apr-20267.6K
tests.sh29-Jan-202633.9K
tests_gnutls.py29-Aug-20264.1K
tests_malicious.py29-Aug-20262.8K
tests_sh_doth.py29-Aug-2026733
tests_sslyze.py29-Aug-20262.4K

README.curl

      1 <!--
      2 Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      3 
      4 SPDX-License-Identifier: MPL-2.0
      5 
      6 This Source Code Form is subject to the terms of the Mozilla Public
      7 License, v. 2.0.  If a copy of the MPL was not distributed with this
      8 file, you can obtain one at https://mozilla.org/MPL/2.0/.
      9 
     10 See the COPYRIGHT file distributed with this work for additional
     11 information regarding copyright ownership.
     12 -->
     13 
     14 DoH query values that can be passed on the command line for testing
     15 with curl can be obtained by encoding binary DNS messages into
     16 base64url, with trailing '='s removed.
     17 
     18 For example:
     19 
     20 $ perl bin/tests/system/fromhex.pl << EOF | base64url
     21     # Transaction ID
     22     0001
     23     # Standard query
     24     0000
     25     # Questions: 1, Additional: 0
     26     0001 0000 0000 0000
     27     # QNAME: example
     28     07 6578616d706c65 00
     29     # Type: SOA
     30     0006
     31     Class: IN
     32     0001
     33 EOF
     34 
     35 This produces the string "AAEAAAABAAAAAAAAB2V4YW1wbGUAAAbFrMonAAE=". With
     36 the trailing '=' removed, this can then be passed to curl:
     37 
     38 curl "https://<server>/dns-query?dns=AAEAAAABAAAAAAAAB2V4YW1wbGUAAAbFrMonAAE"
     39