Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
server/mods-available/dns_module.inc.php
@@ -150,6 +150,8 @@
*      however any of these IPs is allowed to AXFR transfer any of the zones we are masters
*      for.
*/
        $tmps = $app->db->queryAllRecords("SELECT DISTINCT xfer FROM dns_soa WHERE active = 'Y' UNION SELECT DISTINCT xfer FROM dns_slave WHERE active = 'Y' ");
      //* Make sure the list is never empty
@@ -168,6 +170,8 @@
      $options = "allow-axfr-ips=".implode(",",array_unique(explode(",",$options)));
        $app->log("".$options,LOGLEVEL_DEBUG);
   
/**      Not an ideal way to use a hardcoded path like that, but currently
*      we have no way to find out where powerdns' configuration files are 
*      located, so we have to work on assumption.