From: Remi Gacogne Date: Tue, 14 Oct 2025 13:30:43 +0000 (+0200) Subject: dnsdist: Also use the correct zero scope logic in the YAML configuration X-Git-Tag: rec-5.4.0-alpha1~191^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ce28035a09e6fb0d2c322c4e44615013466fd5;p=thirdparty%2Fpdns.git dnsdist: Also use the correct zero scope logic in the YAML configuration Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist-settings-definitions.yml b/pdns/dnsdistdist/dnsdist-settings-definitions.yml index 606d61bd6e..5303a034b4 100644 --- a/pdns/dnsdistdist/dnsdist-settings-definitions.yml +++ b/pdns/dnsdistdist/dnsdist-settings-definitions.yml @@ -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"