| | |
| | | * 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 |
| | |
| | | $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. |