|
|
@@ -28,16 +28,16 @@ class DnsHelper
|
|
|
|
|
|
public function getMX($domain){
|
|
|
$zoneID = selfDns($domain);
|
|
|
- if($zoneID){
|
|
|
+// if($zoneID){
|
|
|
// use local API
|
|
|
- $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
|
|
|
+// $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
|
|
|
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $domain,
|
|
|
+ $zoneID,
|
|
|
'DEbug',
|
|
|
- $dnsZone
|
|
|
+ $domain
|
|
|
);
|
|
|
|
|
|
// } else {
|
|
|
@@ -68,7 +68,7 @@ class DnsHelper
|
|
|
$var['mx'] = 'wrong';
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+// }
|
|
|
return $vars;
|
|
|
}
|
|
|
|