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
I don't mean the dns manager, I mean the ISP manager In the ISP manager I have no form, the MX creation is done automatically.
The ISP-Manager is only a shortcut for the DNS-Manager. Go to the DNS-Manager and change the record accordingly to my post.