]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Actually define the two new args
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 10 Feb 2021 15:40:22 +0000 (16:40 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Tue, 16 Feb 2021 09:18:49 +0000 (10:18 +0100)
pdns/pdns_recursor.cc

index 22c0ac7688b1fd4974f3b5b111e193bae8a68736..440e898167b011db0fc53b9bf6948629ada32420 100644 (file)
@@ -5397,6 +5397,8 @@ int main(int argc, char **argv)
     ::arg().set("ecs-ipv4-cache-bits", "Maximum number of bits of IPv4 mask to cache ECS response")="24";
     ::arg().set("ecs-ipv6-bits", "Number of bits of IPv6 address to pass for EDNS Client Subnet")="56";
     ::arg().set("ecs-ipv6-cache-bits", "Maximum number of bits of IPv6 mask to cache ECS response")="56";
+    ::arg().setSwitch("ecs-ipv4-never-cache", "If we should never cache IPv4 ECS responses")="no";
+    ::arg().setSwitch("ecs-ipv6-never-cache", "If we should never cache IPv6 ECS responses")="no";
     ::arg().set("ecs-minimum-ttl-override", "The minimum TTL for records in ECS-specific answers")="1";
     ::arg().set("ecs-cache-limit-ttl", "Minimum TTL to cache ECS response")="0";
     ::arg().set("edns-subnet-whitelist", "List of netmasks and domains that we should enable EDNS subnet for (deprecated)")="";