Show
Ignore:
Timestamp:
02/13/11 23:17:56 (2 years ago)
Author:
ahu
Message:

widen allow-axfr-ips to IPv6, plus add query-local-address6 for inbound AXFR & outbound notifications over IPv6

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/common_startup.cc

    r1960 r2009  
    4747  ::arg().set("local-address","Local IP addresses to which we bind")="0.0.0.0"; 
    4848  ::arg().set("local-ipv6","Local IP address to which we bind")=""; 
    49   ::arg().set("query-local-address","Source IP address for sending queries")=""; 
     49  ::arg().set("query-local-address","Source IP address for sending queries")="0.0.0.0"; 
     50  ::arg().set("query-local-address6","Source IPv6 address for sending queries")="::"; 
    5051  ::arg().set("max-queue-length","Maximum queuelength before considering situation lost")="5000"; 
    5152  ::arg().set("soa-serial-offset","Make sure that no SOA serial is less than this number")="0"; 
     
    8384  ::arg().set("launch","Which backends to launch and order to query them in")=""; 
    8485  ::arg().setSwitch("disable-axfr","Disable zonetransfers but do allow TCP queries")="no"; 
    85   ::arg().set("allow-axfr-ips","Allow zonetransfers only to these subnets")="0.0.0.0/0"; 
     86  ::arg().set("allow-axfr-ips","Allow zonetransfers only to these subnets")="0.0.0.0/0,::/0"; 
    8687  ::arg().set("slave-cycle-interval","Reschedule failed SOA serial checks once every .. seconds")="60"; 
    8788