From c97f1d1979d6993d96db9c9b7d967192948386fc 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 (cherry picked from commit e498dac1aa762f2ace690e1e7a1631f9611096b6) --- 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 4efc81e48..7910e4348 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3073,7 +3073,7 @@ 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"; @@ -3081,7 +3081,7 @@ int main(int argc, char **argv) ::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( "use-incoming-edns-subnet", "Pass along received EDNS Client Subnet information")="no"; - ::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.49.0