]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
limit AXFR to loopback by default, closes #1287
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 10 Jul 2014 14:09:42 +0000 (16:09 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Thu, 10 Jul 2014 14:09:42 +0000 (16:09 +0200)
pdns/common_startup.cc

index ccec0ecb4de46a2dc182a2becfd725f4167d815c..630348c22e7b51878416d6d40bb35be3533a9961 100644 (file)
@@ -95,7 +95,7 @@ void declareArguments()
   ::arg().set("load-modules","Load this module - supply absolute or relative path")="";
   ::arg().set("launch","Which backends to launch and order to query them in")="";
   ::arg().setSwitch("disable-axfr","Disable zonetransfers but do allow TCP queries")="no";
-  ::arg().set("allow-axfr-ips","Allow zonetransfers only to these subnets")="0.0.0.0/0,::/0";
+  ::arg().set("allow-axfr-ips","Allow zonetransfers only to these subnets")="127.0.0.0/8,::1";
   ::arg().set("only-notify", "Only send AXFR NOTIFY to these IP addresses or netmasks")="0.0.0.0/0,::/0";
   ::arg().set("also-notify", "When notifying a domain, also notify these nameservers")="";
   ::arg().set("slave-cycle-interval","Reschedule failed SOA serial checks once every .. seconds")="60";