zpanel / zpanelx

ZPanel is a web hosting control panel written in PHP for Windows and *NIX host OS's.
http://www.zpanelcp.com
Other
415 stars 296 forks source link

Lost DNS configuration on DNS Manager #233

Open antwal opened 10 years ago

antwal commented 10 years ago

Hi,

I have create a master and slave DNS but when modify the customers DNS I lost every configurations of domains:

I use this for customers domains:

@ IN SOA ns1.masterdomain.com postmaster.masterdomain.com ( ....) @ 3600 IN A 1.2.3.4 @ 172800 IN NS ns1.masterdomain.com. @ 172800 IN NS ns2.masterdomain.com.

How can resolve this problem?

Thanks.

antwal commented 10 years ago

Hi,

I have disable DNS Manger on customers and resellers; now I have setup the DNS manually with this conf:

$TTL 10800 @ IN SOA ns1.masterdomain.com. postmaster.masterdomain.com. ( 2014071401 ;serial 21600 ;refresh after 6 hours 3600 ;retry after 1 hour 604800 ;expire after 1 week 86400 ) ;minimum TTL of 1 day @ 3600 IN A 37.187.181.50 www 3600 IN CNAME @ ftp 3600 IN CNAME @ webmail 3600 IN CNAME ghs.google.com. @ 86400 IN MX 1 aspmx.l.google.com. @ 86400 IN MX 5 alt1.aspmx.l.google.com. @ 86400 IN MX 5 alt2.aspmx.l.google.com. @ 86400 IN MX 10 aspmx2.googlemail.com. @ 86400 IN MX 10 aspmx3.googlemail.com. @ 172800 IN NS ns1.masterdomain.com. @ 172800 IN NS ns2.masterdomain.com.

Where is the files of zones template? I can modify it to resolve this problem.

Thanks.