From: Otto Date: Wed, 10 Feb 2021 15:40:22 +0000 (+0100) Subject: Actually define the two new args X-Git-Tag: dnsdist-1.6.0-alpha2~40^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e8ac06612c5ff27c59ab64991c99ef9c6c9ac63;p=thirdparty%2Fpdns.git Actually define the two new args --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 22c0ac7688..440e898167 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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)")="";