From e498dac1aa762f2ace690e1e7a1631f9611096b6 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 31 Jan 2017 12:13:47 +0100 Subject: [PATCH] recursor: use explicit yes for default-enabled settings --- pdns/pdns_recursor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 36a9d4ba3f..b81241b2c7 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3075,14 +3075,14 @@ int main(int argc, char **argv) ::arg().set("export-etc-hosts", "If we should serve up contents from /etc/hosts")="off"; ::arg().set("export-etc-hosts-search-suffix", "Also serve up the contents of /etc/hosts with this suffix")=""; ::arg().set("etc-hosts-file", "Path to 'hosts' file")="/etc/hosts"; - ::arg().set("serve-rfc1918", "If we should be authoritative for RFC 1918 private IP space")=""; + ::arg().set("serve-rfc1918", "If we should be authoritative for RFC 1918 private IP space")="yes"; ::arg().set("lua-dns-script", "Filename containing an optional 'lua' script that will be used to modify dns answers")=""; ::arg().set("latency-statistic-size","Number of latency values to calculate the qa-latency average")="10000"; ::arg().setSwitch( "disable-packetcache", "Disable packetcache" )= "no"; ::arg().set("ecs-ipv4-bits", "Number of bits of IPv4 address to pass for EDNS Client Subnet")="24"; ::arg().set("ecs-ipv6-bits", "Number of bits of IPv6 address to pass for EDNS Client Subnet")="56"; ::arg().set("edns-subnet-whitelist", "List of netmasks and domains that we should enable EDNS subnet for")=""; - ::arg().setSwitch( "pdns-distributes-queries", "If PowerDNS itself should distribute queries over threads")=""; + ::arg().setSwitch( "pdns-distributes-queries", "If PowerDNS itself should distribute queries over threads")="yes"; ::arg().setSwitch( "root-nx-trust", "If set, believe that an NXDOMAIN from the root means the TLD does not exist")="yes"; ::arg().setSwitch( "any-to-tcp","Answer ANY queries with tc=1, shunting to TCP" )="no"; ::arg().setSwitch( "lowercase-outgoing","Force outgoing questions to lowercase")="no"; -- 2.47.2