]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
clarify root-nx-trust by explicitly setting it to yes 4217/head
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 22 Jul 2016 13:20:59 +0000 (15:20 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 22 Jul 2016 13:20:59 +0000 (15:20 +0200)
pdns/pdns_recursor.cc

index 66f7ad78efd81a8f8b3b95d91ff6b097e5263f48..6717e0571dce678c1b46015622caee340cf17306 100644 (file)
@@ -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";