Skip to content

Commit

Permalink
Relocate dohclient text and add missing link
Browse files Browse the repository at this point in the history
  • Loading branch information
gthess committed Apr 5, 2023
1 parent 35a91fb commit b0558e0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions source/topics/privacy/dns-over-https.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,13 @@ Unbound to listen on the HTTPS port:
tls-service-key: "key.pem"
tls-service-pem: "cert.pem"
The port that Unbound will use for incoming DoH traffic is by default set to 443
and can be changed using the :ref:`https-port:<unbound.conf.https-port>`
configuration option.
The port that Unbound will use for incoming DoH traffic is by default set to
443 and can be changed using the
:ref:`https-port:<unbound.conf.https-port>` configuration option.

Unbound is now ready to handle DoH queries on the default HTTP endpoint, which
is ``/dns-query``:
``dohclient``, an Unbound test utility which can be built with
``make dohclient`` in Unbound's source tree, shows that Unbound is now ready to
handle DoH queries on the default HTTP endpoint, which is ``/dns-query``:

.. code-block:: text
Expand Down Expand Up @@ -147,10 +148,9 @@ is ``/dns-query``:
; EDNS: version: 0; flags: do ; udp: 4096
;; MSG SIZE rcvd: 241
(``dohclient`` can be built with ``make dohclient`` in Unbound's source tree.)

Queries to other paths will be answered with a ``404`` status code. The
endpoint can be changed using the http-endpoint configuration option.
endpoint can be changed using the
:ref:`http-endpoint:<unbound.conf.http-endpoint>` configuration option.

The maximum number of concurrent HTTP/2 streams can be configured using the
:ref:`http-max-streams:<unbound.conf.http-max-streams>` configuration option.
Expand Down

0 comments on commit b0558e0

Please sign in to comment.