From 4ca2d205832595dc92ec271b3eb316b82e5ad8d8 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 22 Jul 2016 15:20:59 +0200 Subject: [PATCH] clarify root-nx-trust by explicitly setting it to yes --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 66f7ad78ef..6717e0571d 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2944,7 +2944,7 @@ int main(int argc, char **argv) ::arg().setSwitch( "disable-packetcache", "Disable packetcache" )= "no"; ::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( "root-nx-trust", "If set, believe that an NXDOMAIN from the root means the TLD does not exist")=""; + ::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"; ::arg().set("udp-truncation-threshold", "Maximum UDP response size before we truncate")="1680"; -- 2.47.2