
9th January 2006, 21:28
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
new added dns records are not right
hi, i just started to work with ispconfig and i am amazed about the product. but  yeah ofcourse there it comes. i have problems with my DNS records. when i add a domain with a DNS server hosting the records miss alot of stuff. Like a proper MX record and Localhost record what is needed for NL registration. i can add it all manually but is there a way how i can add a form or template where i can set my own settings according my own will ?
|

9th January 2006, 21:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Have you used the DNS-Manager or only checked the "Create DNS" Checkbox when creating a website?
|

9th January 2006, 21:39
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
create DNS and create MX i have checked. no dns manager
|

9th January 2006, 21:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
For these "simple" functions you can set some preferences in Administration > Server > Settings
If the functions there where not advanced enough, i recommend to fine tune the DNS records in the DNS manager.
|

9th January 2006, 21:44
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
but what i was thinking about is perhaps there is a way to adjust the way how the dns records is been created in the form manager. but i cant find a good documentation on how to use this one with what variables. if i need to fine tune the dns records when i add alot of domains is alot of time. i was think perhaps i could adjust the script a bit to meet my needs.
|

9th January 2006, 21:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
You cant modify this directly in the form manager. You will have to change the "action" script that is executed when the website is saved. If remeber correctly, the name of the file is:
/home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php
|

9th January 2006, 21:53
|
|
Junior Member
|
|
Join Date: Jan 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok thanks for the quick support. i am going to give it a look and keep posted here. perhaps i post the new ( nic.nl certfied  domain records ) script.
|

9th January 2006, 23:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
The script that's actually writing the zone files is /root/ispconfig/scripts/lib/classes/ispconfig_bind.lib.php. You might want to have a look into it as well.
|

9th January 2006, 23:11
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have the same problem, and I think there is a bug here $domain = trim($server["server_domain"]);
////////////////////////////////////////
// MX Record anlegen
////////////////////////////////////////
$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']);
if(!empty($domain)) {
//$ip_adresse = $domain["domain_ip"];
$sql = "INSERT INTO dns_mx (host,prioritaet,mailserver) VALUES ('$host','10','$domain')";
We want the MX record to be set up as mail.customerdomain.tld, not mail.serverdomain.com
for example we are in a hosting company called timehost.net, the server is called zeus.timehost.net. If a reseller creates a new site, the MX record should point to mail.customerdomain.tld. Currently there is a erroneus default entry as timehost.net only.
|

10th January 2006, 10:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
I think thats not a bug. What you want is another kind of configuration then the one that ISPConfig has for default.
If you want MX records to point always to the customer domain, you can use it like this:
////////////////////////////////////////
// MX Record anlegen
////////////////////////////////////////
$host = $go_api->db->queryOneRecord("SELECT web_host FROM isp_isp_web WHERE doc_id = $doc_id");
$host = trim($host['web_host']);
$domain = "mail.".trim($host["web_domain"]);
if(!empty($domain)) {
//$ip_adresse = $domain["domain_ip"];
$sql = "INSERT INTO dns_mx (host,prioritaet,mailserver) VALUES ('$host','10','$domain')";
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:07.
|
|
Recent comments
8 hours 46 min ago
13 hours 51 min ago
18 hours 15 min ago
20 hours 4 min ago
1 day 10 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 2 min ago