]> granicus.if.org Git - pdns/commitdiff
widen allow-axfr-ips to IPv6, plus add query-local-address6 for inbound AXFR & outbou...
authorBert Hubert <bert.hubert@netherlabs.nl>
Sun, 13 Feb 2011 22:17:56 +0000 (22:17 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sun, 13 Feb 2011 22:17:56 +0000 (22:17 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2009 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/common_startup.cc
pdns/iputils.hh

index 986c75311c4a439642d7901d37d8728c3e08b78d..1139646498cd9b60d33fd2628e4d4b2a03d2fb6b 100644 (file)
@@ -46,7 +46,8 @@ void declareArguments()
   ::arg().set("smtpredirector","Our smtpredir MX host")="a.misconfigured.powerdns.smtp.server";
   ::arg().set("local-address","Local IP addresses to which we bind")="0.0.0.0";
   ::arg().set("local-ipv6","Local IP address to which we bind")="";
-  ::arg().set("query-local-address","Source IP address for sending queries")="";
+  ::arg().set("query-local-address","Source IP address for sending queries")="0.0.0.0";
+  ::arg().set("query-local-address6","Source IPv6 address for sending queries")="::";
   ::arg().set("max-queue-length","Maximum queuelength before considering situation lost")="5000";
   ::arg().set("soa-serial-offset","Make sure that no SOA serial is less than this number")="0";
   
@@ -82,7 +83,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";
+  ::arg().set("allow-axfr-ips","Allow zonetransfers only to these subnets")="0.0.0.0/0,::/0";
   ::arg().set("slave-cycle-interval","Reschedule failed SOA serial checks once every .. seconds")="60";
 
   ::arg().set("tcp-control-address","If set, PowerDNS can be controlled over TCP on this address")="";
index a8a44c7def0e5e3dddb516f07f26235233a0ed1e..b7e5e5f445273085916453847bdfb542c0a8f028 100644 (file)
@@ -1,6 +1,6 @@
 /*
     PowerDNS Versatile Database Driven Nameserver
-    Copyright (C) 2002 - 2008  PowerDNS.COM BV
+    Copyright (C) 2002 - 2011  PowerDNS.COM BV
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License version 2