Restore to box with dnssec=0 should not sign the zone

Version 1.61.0

Bugfix
Finished

A domain backed up with dnssec data, being restored to a box with dnssec=0 was signing the zone, simply due to the fact that the dnssec keys were present. A box with dnssec=0 should never sign a zone, even if the zone was previously signed on another box. However, the keys will still be restored, but simply not signed. Also changed the deletion of a dns zone to always delete the 4 keys and d.com.db.signed files, else they would not have been deleted on a dnssec=0 box (the .signed file shouldn't exist, but could if you did have dnssec=1, and shut it off later)

Interested to try DirectAdmin? Get a 30-day Free Trial!