From 5de1ce81e51bb6c1b9a4c573132eb223748daf06 Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Fri, 05 Sep 2014 08:23:31 -0400 Subject: [PATCH] auto create / update dns-records for dkim-handling --- interface/lib/classes/functions.inc.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/functions.inc.php b/interface/lib/classes/functions.inc.php index a964634..8a287a4 100644 --- a/interface/lib/classes/functions.inc.php +++ b/interface/lib/classes/functions.inc.php @@ -229,7 +229,8 @@ if(preg_match($regex, $result['ip'])) $ips[] = $result['ip']; } } - + + /* $results = $app->db->queryAllRecords("SELECT xfer FROM dns_slave WHERE xfer != ''"); if(!empty($results) && is_array($results)){ foreach($results as $result){ @@ -260,6 +261,8 @@ } } } + */ + $results = $app->db->queryAllRecords("SELECT remote_ips FROM web_database WHERE remote_ips != ''"); if(!empty($results) && is_array($results)){ foreach($results as $result){ -- Gitblit v1.9.1