From: Remi Gacogne Date: Thu, 5 Jun 2025 14:17:51 +0000 (+0200) Subject: dnsdist: Add a missing change in the YAML response actions docs X-Git-Tag: dnsdist-2.0.0-beta1~39^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b08c4b7f236a84e65adbe9ef0faadb2520ac0c2;p=thirdparty%2Fpdns.git dnsdist: Add a missing change in the YAML response actions docs --- 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