DNS Zone problems - Adding new zone & subdomain conflicts
|
Author |
Message |
edeis
Junior Member
Posts: 34
Joined: May 2010
Reputation: 0
|
DNS Zone problems - Adding new zone & subdomain conflicts
Here is a problem which has been posted about a few times in the forum. I would like to add some more information to help us diagnose and create a how-to to properly solve this. There are some cases where it does not work.
Question:
I edited the DNS manaully, but is still got overwritten by the DNS template in /etc/ispcp/bind/parts after adding a new zone ispCP.
The solution is suppose to be to edit /etc/ispcp/bind/working and copy the file to bind running on the server.
Here's the DNS files on my machine, you can see same size after editing.
-rw-r--r-- 1 root root 2528 Jun 25 11:49 /etc/ispcp/bind/working/domainname.com.db
-rw-r--r-- 1 root root 2528 Jun 25 11:49 /var/named/data/domainname.com.db
Testing:
This works okay if you create a new subdomain in ispCP. It keeps your manual changes to the DNS file.
Problem:
If the client uses the Add DNS zone record (experimental) feature in ispCP and adds a new zone record, your DNS file is overwritten from the template in /etc/ispcp/bind/parts. It not only overwrites what manual changes you did to the DNS file, but it also omits any subdomains that were created, as the new DNS file is generated strictly from the template and any entries in the Add DNS zone record (experimental) section.
How can this one be fixed? I am missing something?
Here's some more data to help diagnose:
-After the new dns zone has been created via ispCP. the status of the subdomains all turn to "unknown error" on the manage domains page.
-if you go into /admin/ispcp_debugger.php you will see the subdomain errors
-you can restore the lost subdomains by clicking "set status to change".
-now you can have both the subdomain entries and custom dns zone that you set in ispCP. However the manually DNS entries you made by changing the file in /etc/ispcp/bind/working are lost.
(This post was last modified: 06-26-2010 05:34 AM by edeis.)
|
|
06-26-2010 05:22 AM |
|
Messages In This Thread |
DNS Zone problems - Adding new zone & subdomain conflicts - edeis - 06-26-2010 05:22 AM
|
User(s) browsing this thread: 1 Guest(s)