From 5b08c4b7f236a84e65adbe9ef0faadb2520ac0c2 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 5 Jun 2025 16:17:51 +0200 Subject: [PATCH] dnsdist: Add a missing change in the YAML response actions docs --- .../docs/reference/yaml-response-actions.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pdns/dnsdistdist/docs/reference/yaml-response-actions.rst b/pdns/dnsdistdist/docs/reference/yaml-response-actions.rst index 0efaa216cf..f516168ee3 100644 --- a/pdns/dnsdistdist/docs/reference/yaml-response-actions.rst +++ b/pdns/dnsdistdist/docs/reference/yaml-response-actions.rst @@ -176,6 +176,21 @@ Parameters: - **metas**: Sequence of :ref:`ProtoBufMetaConfiguration ` - A list of ``name``=``key`` pairs, for meta-data to be added to Protocol Buffer message +.. _yaml-settings-SetEDNSOptionResponseAction: + +SetEDNSOptionResponseAction +--------------------------- + +Add arbitrary EDNS option and data to the response. Any existing EDNS content with the same option code will be replaced. Subsequent rules are processed after this action + +Lua equivalent: :func:`SetEDNSOptionResponseAction` + +Parameters: + +- **code**: Unsigned integer - The EDNS option number +- **data**: String - The EDNS0 option raw content + + .. _yaml-settings-SetExtendedDNSErrorResponseAction: SetExtendedDNSErrorResponseAction -- 2.47.2