Browse Source

new dns helper class

andre 6 months ago
parent
commit
61f80d3d87
1 changed files with 13 additions and 0 deletions
  1. 13 0
      core/Helper/DnsHelper.php

+ 13 - 0
core/Helper/DnsHelper.php

@@ -145,6 +145,19 @@ class DnsHelper
                 $var['mx'] = 'wrong';
                 $var['mx'] = 'wrong';
             }
             }
         }
         }
+        $zoneIDcollection = Capsule::table('dns_manager2_zone')
+            ->select('id')
+            ->where('name', '=', $this->params['domain'])
+            ->get();
+
+        	logModuleCall(
+                'kerioEmail',
+                __FUNCTION__,
+                $this->params,
+                'Debug',
+                $zoneIDcollection
+            );
+    
         return $vars;
         return $vars;
     }
     }