DNS: Reset Defaults: re-add DKIM records for hostname

Version 1.513

Bugfix
Finished

Fix for hitting the "Reset Defaults" button on the hostname. Adds extra checks in DA to allow addking the DKIM records despite not being able to figure out which User it's for. Because the /etc/virtual/zonename.com must still exist, it's still only going to be valid for local domains or the hostname. Extra zone resets will not have their DKIM zones re-added because there are no ketys in /etc/virtual/zonname.com/* to work with.

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