]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: add docs for `DOH3Frontend:setResponsesMap`
authorEnsar Sarajčić <dev@ensarsarajcic.com>
Thu, 26 Mar 2026 08:50:28 +0000 (09:50 +0100)
committerEnsar Sarajčić <dev@ensarsarajcic.com>
Thu, 26 Mar 2026 08:50:28 +0000 (09:50 +0100)
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
pdns/dnsdistdist/docs/reference/config.rst

index f829080933ed66824d23257475c274a321e5a5ef..b859b5676cc6487a3f8df4bb9c567615d96b89df 100644 (file)
@@ -2673,6 +2673,14 @@ DOH3Frontend
 
      Reload the current TLS certificate and key pairs.
 
+  .. method:: setResponsesMap(rules)
+
+    .. versionadded:: 2.2.0
+
+     Set a list of HTTP response rules allowing to intercept HTTP queries very early, before the DNS payload has been processed, and send custom responses including error pages, redirects and static content.
+
+     :param list of DOHResponseMapEntry objects rules: A list of DOHResponseMapEntry objects, obtained with :func:`newDOHResponseMapEntry`.
+
 DOQFrontend
 ~~~~~~~~~~~