Browse Source

editsettingsform

andre 5 months ago
parent
commit
393dba53fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/Helper/DnsHelper.php

+ 1 - 1
core/Helper/DnsHelper.php

@@ -91,7 +91,7 @@ class DnsHelper
         $vars['spf'] = array();
         $vars['spf'] = array();
         $vars['dmarc'] = array();
         $vars['dmarc'] = array();
         $vars['dkim'] = array();
         $vars['dkim'] = array();
-        $vars['selfdns'] = true;
+        $vars['selfdns'] = $zoneID;
         $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
         $dnsZone = localAPI('dnsmanager', array( 'dnsaction' => 'getZone', 'zone_id' => $zoneID));
         if($dnsZone['result'] != 'success') {
         if($dnsZone['result'] != 'success') {
             return 'Error: cloud not fetch zone for ID ' . $zoneID;
             return 'Error: cloud not fetch zone for ID ' . $zoneID;