Hello everybody,
I have a new issue, I recently moved some domains from an old ispCP server to a new i-MSCP server 1.5.3.
One of the domains I moved had an A redirect to an external IP in the "Add DNS Resource record" section.
Ex: @ in A -> External IP
The problem is that i-MSCP also adds the server IP to the A hosts, resulting in :
;; ANSWER SECTION:
mydomain.com. 3600 IN A 85.9.x.x
mydomain.com. 3600 IN A 40.115.x.x
When it *SHOULD* be just 1 IP in A (the external one) So, the virtual/htdocs is empty because it's supposed to redirect, and the customer gets an error.
My Question, how can I prevent i-MSCP to add into BIND it's own IP and just leave what I set in DNS Resource Record.
The server acts as a Master Bind server linked to 2 slave servers which are set to control all customer domains. (Ex: customer.com in ns1.mydomain.com and ns2.mydomain.com and master i-MSCP NS is customer.com and slaves ns1&ns2)
I also experienced the same problem when I moved the main domain for the panels from one of the slave servers to another, it kept adding a record with another A ip to ns1.mydomain.com, resulting in some errors for customers, i had to copy all the records from the slave NS servers to the customer server where i just copied the domain.
Also, another question related to BIND, what is the correct syntax to add secondary NS servers to /etc/imscp/bind/bind.data and how do I make i-MSCP implement the new settings in named.conf.local after adding / removing a NS. i tried ip,ip - ip;ip - ip ip, nothing seems to work, i still had to manually change each zone in named.conf.local in order to transfer the zones to the slaves.
Thanks!