]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Add a missing change in the YAML response actions docs
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Jun 2025 14:17:51 +0000 (16:17 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 5 Jun 2025 14:17:51 +0000 (16:17 +0200)
pdns/dnsdistdist/docs/reference/yaml-response-actions.rst

index 0efaa216cf1268bad02f4bde67ffba5b25cb2726..f516168ee35ad0200b654d0cb040edc74d3d493d 100644 (file)
@@ -176,6 +176,21 @@ Parameters:
 - **metas**: Sequence of :ref:`ProtoBufMetaConfiguration <yaml-settings-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