]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: reorder `AddExtendedDNSError` in actions definitions
authorEnsar Sarajčić <dev@ensarsarajcic.com>
Mon, 29 Dec 2025 08:26:18 +0000 (09:26 +0100)
committerEnsar Sarajčić <dev@ensarsarajcic.com>
Mon, 29 Dec 2025 10:47:54 +0000 (11:47 +0100)
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
pdns/dnsdistdist/dnsdist-actions-definitions.yml
pdns/dnsdistdist/dnsdist-response-actions-definitions.yml

index 29d6b50b008ca7f10e041aacfae97946a390af4c..bb842a73d426c7cb03d0cfe572c011e783d7d51d 100644 (file)
@@ -1,4 +1,15 @@
 ---
+- name: "AddExtendedDNSError"
+  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:
+    - name: "info_code"
+      type: "u16"
+      description: "The EDNS Extended DNS Error code"
+    - name: "extra_text"
+      type: "String"
+      default: ""
+      optional: false
+      description: "The optional EDNS Extended DNS Error extra text"
 - name: "allow"
   description: "Let these packets go through"
 - name: "continue"
@@ -359,17 +370,6 @@ are processed after this action"
       default: ""
       optional: false
       description: "The optional EDNS Extended DNS Error extra text"
-- name: "AddExtendedDNSError"
-  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:
-    - name: "info_code"
-      type: "u16"
-      description: "The EDNS Extended DNS Error code"
-    - name: "extra_text"
-      type: "String"
-      default: ""
-      optional: false
-      description: "The optional EDNS Extended DNS Error extra text"
 - name: "SetMacAddr"
   description: "Add the source MAC address to the query as an EDNS0 option. This action is currently only supported on Linux. Subsequent rules are processed after this action"
   parameters:
index c27980a8a7c3c3176d38f366d6dae0da53da918c..9ae5dcc7444daada43ef84e98d236e2c3146b1cf 100644 (file)
@@ -1,4 +1,15 @@
 ---
+- name: "AddExtendedDNSError"
+  description: "Set an Extended DNS Error status that will be added to the response. Subsequent rules are processed after this action"
+  parameters:
+    - name: "info_code"
+      type: "u16"
+      description: "The EDNS Extended DNS Error code"
+    - name: "extra_text"
+      type: "String"
+      default: ""
+      optional: false
+      description: "The optional EDNS Extended DNS Error extra text"
 - name: "allow"
   description: "Let these packets go through."
 - name: "ClearRecordTypes"
@@ -203,17 +214,6 @@ The function will be invoked in a per-thread Lua state, without access to the gl
       default: ""
       optional: false
       description: "The optional EDNS Extended DNS Error extra text"
-- name: "AddExtendedDNSError"
-  description: "Set an Extended DNS Error status that will be added to the response. Subsequent rules are processed after this action"
-  parameters:
-    - name: "info_code"
-      type: "u16"
-      description: "The EDNS Extended DNS Error code"
-    - name: "extra_text"
-      type: "String"
-      default: ""
-      optional: false
-      description: "The optional EDNS Extended DNS Error extra text"
 - name: "SetMaxReturnedTTL"
   description: "Cap the TTLs of the response to the given maximum, but only after inserting the response into the packet cache with the initial TTL values"
   skip-cpp: true