From: Remi Gacogne Date: Thu, 18 Dec 2025 14:03:24 +0000 (+0100) Subject: dnsdist: Fix ordering of actions in the action definitions X-Git-Tag: rec-5.4.0-beta1~82^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1055abd22d58de461940c44e0bdae5a34b6f4636;p=thirdparty%2Fpdns.git dnsdist: Fix ordering of actions in the action definitions Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist-actions-definitions.yml b/pdns/dnsdistdist/dnsdist-actions-definitions.yml index a9ea1c3ca6..df45280d7e 100644 --- a/pdns/dnsdistdist/dnsdist-actions-definitions.yml +++ b/pdns/dnsdistdist/dnsdist-actions-definitions.yml @@ -41,15 +41,6 @@ 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: