]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix ordering of actions in the action definitions
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 18 Dec 2025 14:03:24 +0000 (15:03 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 18 Dec 2025 14:03:24 +0000 (15:03 +0100)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-actions-definitions.yml

index a9ea1c3ca690fa807978a6c177bbb926ae74fd92..df45280d7e9a1256fa80612da904722d7ffacc51 100644 (file)
       description: "The path to a file containing the code of the Lua function that will alter the message"
 - name: "drop"
   description: "Drop the packet"
-- name: "SetEDNSOption"
-  description: "Add arbitrary EDNS option and data to the query. Any existing EDNS content with the same option code will be overwritten. Subsequent rules are processed after this action"
-  parameters:
-    - name: "code"
-      type: "u32"
-      description: "The EDNS option number"
-    - name: "data"
-      type: "String"
-      description: "The EDNS0 option raw content"
 - name: "ERCode"
   description: "Reply immediately by turning the query into a response with the specified EDNS extended rcode"
   skip-cpp: true
@@ -348,6 +339,15 @@ are processed after this action"
     - name: "ipv6"
       type: "u16"
       description: "The IPv6 netmask length"
+- name: "SetEDNSOption"
+  description: "Add arbitrary EDNS option and data to the query. Any existing EDNS content with the same option code will be overwritten. Subsequent rules are processed after this action"
+  parameters:
+    - name: "code"
+      type: "u32"
+      description: "The EDNS option number"
+    - name: "data"
+      type: "String"
+      description: "The EDNS0 option raw content"
 - name: "SetExtendedDNSError"
   description: "Set an Extended DNS Error status that will be added to the response corresponding to the current query. Subsequent rules are processed after this action"
   parameters: