add powerdns config-templates for distros

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2016-05-19 10:29:17 +02:00
parent 96ff346e54
commit 257f65bd1b
5 changed files with 959 additions and 9 deletions

View File

@@ -147,8 +147,8 @@ class pdns extends DnsBase
if (!file_exists($config))
{
$this->_logger->logAction(CRON_ACTION, LOG_ERROR, 'PowerDNS configuration file not found. Did you go through the configuration templates?');
die('PowerDNS configuration file not found. Did you go through the configuration templates?');
$this->_logger->logAction(CRON_ACTION, LOG_ERROR, 'PowerDNS configuration file ('.$config.') not found. Did you go through the configuration templates?');
die('PowerDNS configuration file ('.$config.') not found. Did you go through the configuration templates?'.PHP_EOL);
}
$lines = file($config);
$mysql_data = array();