- cache: avoid excessive logging introduced in the last release (!1869)
- /options/serve-stale: avoid SIGSEGV from a LuaJIT bug (#957)
+Improvements
+------------
+- DoH: add unencrypted mode for reverese proxies (alpha, !1877)
+
Knot Resolver 6.4.1 (2026-07-22)
================================
``GET``, ``POST``, or ``HEAD``
+.. _dns-over-http:
+
+Insecure DoH
+""""""""""""
+
+This is a special mode not intended to be exposed to users.
+The main use case is to avoid useless encryption between resolver and a reverse TLS-stripping proxy.
+
+You can configure it by selecting ``doh2-insecure`` kind in
+:option:`network/listen <network/listen: <list>>`.
+
+.. warning::
+
+ Currently this is offered only as an alpha feature,
+ but the code diff from normal (encrypted) DoH is very small.
+
+
.. _dot-doh-doq-config-options:
Configuration options for DoT, DoH and DoQ
address + port combination.
.. csv-table::
- :header: "Protocol/service", :option:`kind <kind: dns|xdp|dot|doh2|doh-legacy>`
+ :header: "Protocol/service", :option:`kind <kind: dns|xdp|dot|doq|doh2|doh2-insecure|doh-legacy>`
"DNS (unencrypted UDP+TCP, :rfc:`1034`)","``dns``"
"DNS (unencrypted UDP, `using XDP Linux API <./dev/daemon-bindings-net_xdpsrv.html#dns-over-xdp>`_)","``xdp``"
":ref:`dns-over-tls`","``dot``"
+ ":ref:`dns-over-quic`","``doq``"
":ref:`dns-over-https`","``doh2``"
+ ":ref:`dns-over-http`","``doh2-insecure``"
"`Legacy DNS-over-HTTPS (DoH) <./dev/modules-http.html#mod-http-doh>`_","``doh-legacy``"
.. option:: network/listen: <list>
Port number to listen on.
- .. option:: kind: dns|xdp|dot|doh2|doh-legacy|doq
+ .. option:: kind: dns|xdp|dot|doq|doh2|doh2-insecure|doh-legacy
:default: dns