]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: make `clear_existing_entries` optional in `SetExtendedDNSError`
authorEnsar Sarajčić <dev@ensarsarajcic.com>
Mon, 29 Dec 2025 18:13:21 +0000 (19:13 +0100)
committerEnsar Sarajčić <dev@ensarsarajcic.com>
Mon, 29 Dec 2025 18:13:21 +0000 (19:13 +0100)
Signed-off-by: Ensar Sarajčić <dev@ensarsarajcic.com>
pdns/dnsdistdist/dnsdist-actions-definitions.yml
pdns/dnsdistdist/dnsdist-response-actions-definitions.yml

index 2c90a4fc106302b61f1f57dea2766d4ab68fefde..e59945d10ba36fae4d0895562af0b4efbab60574 100644 (file)
@@ -362,7 +362,7 @@ are processed after this action"
     - name: "clear_existing_entries"
       type: "bool"
       default: "true"
-      optional: false
+      optional: true
       description: "Whether to clear existing EDNS Extended DNS Error codes"
 - 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"
index b2de068dafa3027a163d2532cf105c61f82b1582..f63dc688f7ec62da92609cbd5ecb336c69d42828 100644 (file)
@@ -206,7 +206,7 @@ The function will be invoked in a per-thread Lua state, without access to the gl
     - name: "clear_existing_entries"
       type: "bool"
       default: "true"
-      optional: false
+      optional: true
       description: "Whether to clear existing EDNS Extended DNS Error codes"
 - 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"