]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Also use the correct zero scope logic in the YAML configuration
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 14 Oct 2025 13:30:43 +0000 (15:30 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 14 Oct 2025 13:30:43 +0000 (15:30 +0200)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-settings-definitions.yml

index 606d61bd6e40b6880934e5a52bcefcda2fceebca..5303a034b4dd65af604611d506461428b6e5e751 100644 (file)
@@ -2044,10 +2044,10 @@ pool:
       type: "bool"
       default: "false"
       description: "Whether to add EDNS Client Subnet information to the query before looking up into the cache, when all servers from this pool are down. If at least one server is up, the preference of the selected server is used, this parameter is only useful if all the backends in this pool are down and have EDNS Client Subnet enabled, since the queries in the cache will have been inserted with ECS information"
-    - name: "disable_zero_scope"
+    - name: "use_zero_scope"
       type: "bool"
-      default: "false"
-      description: "Whether to disable the EDNS Client Subnet :doc:`../advanced/zero-scope` feature, which does a cache lookup for an answer valid for all subnets (ECS scope of 0) before adding ECS information to the query and doing the regular lookup, when all servers from this pool are down. If at least one server is up, the preference of the selected server is used, this parameter is only useful if all the backends in this pool are down, have EDNS Client Subnet enabled and zero scope disabled"
+      default: "true"
+      description: "Whether to enable the EDNS Client Subnet :doc:`../advanced/zero-scope` feature, which does a cache lookup for an answer valid for all subnets (ECS scope of 0) before adding ECS information to the query and doing the regular lookup, when all servers from this pool are down. If at least one server is up, the preference of the selected server is used, this parameter is only useful if all the backends in this pool are down, have EDNS Client Subnet enabled and zero scope disabled"
 
 custom_load_balancing_policy:
   description: "Settings for a custom load-balancing policy"