|
|
@@ -2,7 +2,6 @@
|
|
|
|
|
|
namespace ThurData\Servers\KerioEmail\Core\Helper;
|
|
|
|
|
|
-require_once '/usr/share/php/Net/DNS2.php';
|
|
|
|
|
|
/**
|
|
|
* Wrapper for WHMCS params passed to controler functions
|
|
|
@@ -11,13 +10,14 @@ require_once '/usr/share/php/Net/DNS2.php';
|
|
|
*/
|
|
|
class DnsHelper
|
|
|
{
|
|
|
-const NS1 = '185.163.51.130';
|
|
|
-const NS2 = '185.163.51.131';
|
|
|
-const MX = 'mail3.seecure.ch';
|
|
|
-const SPF = 'v=spf1 mx a:mail3.seecure.ch ip4:185.163.51.0/24 ip4:89.35.78.0/23 ~all';
|
|
|
-const DMARC = 'v=DMARC1; p=reject; rua=mailto:technik@thurdata.ch; ruf=mailto:technik@thurdata.ch';
|
|
|
+ const NS1 = '185.163.51.130';
|
|
|
+ const NS2 = '185.163.51.131';
|
|
|
+ const MX = 'mail3.seecure.ch';
|
|
|
+ const SPF = 'v=spf1 mx a:mail3.seecure.ch ip4:185.163.51.0/24 ip4:89.35.78.0/23 ~all';
|
|
|
+ const DMARC = 'v=DMARC1; p=reject; rua=mailto:technik@thurdata.ch; ruf=mailto:technik@thurdata.ch';
|
|
|
public static function KerioEmailCheckDNS($params)
|
|
|
{
|
|
|
+ require_once '/usr/share/php/Net/DNS2.php';
|
|
|
unset($zoneID);
|
|
|
unset($mxStatus);
|
|
|
unset($dnsData);
|