If the foreign key on a zone removes the last zone, deactivate the DNS tab of the system. issue #6031