Hallo :-)
Why "www MX 10 mydomain.com" when it should be "MX 10 (mail.)mydomain.com"?
In that way,
www.dnsreport.com says me there are problems, it doesn't recognixe MX record.
This happens when I create a site and I chec create DNS and MX.
I modified the code of:
/home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php
line 976
from:
Code:
$domain = trim($server["server_domain"]);
$host = $go_api->db->queryOneRecord("SELECT web_host FROM isp_isp_web WHERE doc_id = $doc_id");
$host = trim($host['web_host']);
to:
Code:
$domain = 'mail.'.trim($server["server_domain"]);
//$host = $go_api->db->queryOneRecord("SELECT web_host FROM isp_isp_web WHERE doc_id = $doc_id");
//$host = trim($host['web_host']);
$host = '';
Am I in error?
Another question: is there a variable containing the customer's domain name? Then I could have "MX 10 mail.mycustomerdomain.tld and add a query like:
Code:
$sql = "INSERT INTO dns_a (host,ip_adresse) VALUES ('mail','$ip_adresse')";
$go_api->db->query($sql);
Thank you
Denis
Recent comments
1 day 15 hours ago
1 day 17 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 12 hours ago
2 days 18 hours ago
3 days 3 hours ago
3 days 5 hours ago
3 days 13 hours ago
3 days 15 hours ago