From: Ensar Sarajčić Date: Mon, 29 Dec 2025 08:26:18 +0000 (+0100) Subject: dnsdist: reorder `AddExtendedDNSError` in actions definitions X-Git-Tag: rec-5.4.0-beta1~68^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=030c8d0fdc30b528ea8f22edede1e75050850560;p=thirdparty%2Fpdns.git dnsdist: reorder `AddExtendedDNSError` in actions definitions Signed-off-by: Ensar Sarajčić --- diff --git a/pdns/dnsdistdist/dnsdist-actions-definitions.yml b/pdns/dnsdistdist/dnsdist-actions-definitions.yml index 29d6b50b00..bb842a73d4 100644 --- a/pdns/dnsdistdist/dnsdist-actions-definitions.yml +++ b/pdns/dnsdistdist/dnsdist-actions-definitions.yml @@ -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: diff --git a/pdns/dnsdistdist/dnsdist-response-actions-definitions.yml b/pdns/dnsdistdist/dnsdist-response-actions-definitions.yml index c27980a8a7..9ae5dcc744 100644 --- a/pdns/dnsdistdist/dnsdist-response-actions-definitions.yml +++ b/pdns/dnsdistdist/dnsdist-response-actions-definitions.yml @@ -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