Feature: Allow same zones on another DNS master
Description
We were recently re-configuring DNS services and needed to migrate zones from older servers to new DNS servers without creating a new multi-server setup. The OSes and versions of bind were different, so mirroring or using master/slave DNS did not make sense. We needed NEW Name Servers so that they could be changed at the registrar portal. Afterwards, the zones could be deleted from the old DNS servers.
Needless to say, we ran into the old "Zone already exists" message when we tried to create the first zone on the new DNS master.
!1321 (closed))
Solution (seeI quickly solved our own bottleneck by using phpMyAdmin to modify the UNIQUE constraint on the dns_soa
table regarding origin
(changing it to server_id + origin
and hand editing the dns_soa.tform.php
to not raise an error so we could create the zones.
Related
#482 and there are other circumstances in which this feature would also be necessary (namely: split-DNS)