Solved [dkim_selector=x2] restore backup from old server 'x' to new server 'x2' DNS missing

Ohm J

Verified User
Joined
Aug 16, 2019
Messages
2,071
After restore, 'x2._domainkey' record not created.
But click on button "RESET TO DEFAULT", 'x2' comeback to DNS record.
 
I move some user from the old server "x" record to the new server "x2" record.
 
So if you have "x" in backups why would it be turned to "x2" during the restore? If you used the option dkim_selector=x2, it is OK. But a directadmin server with "x2" do not expect to see "x" in backups, I believe.

Or do I totally misunderstand the case, and you had both "x2" in backups and dkim_selector=x2 in settings?
 
DA doesn't create the record "x2" during restore.
Because new server using "x2". Missing this record, the email won't send.
 
I think @Ohm J needs a feature request.

To explain it in a more easier way maybe this helps.
We have this option when restoring via admin/backup transfer:
Restore with SPF values from backup. (unchecked: Use local spf values)
So one can choose wheather or not to use the SPF value from the backup.

Such option is not present for DKIM so one would expect that a new server would create new DKIM records automatically set to the dkim_selector which is set in the directadmin.conf file instead of using the ones from the backup.

Ofcourse this could overwrite custom dkim settings for other purposes, probably for that reason the ones from the backup are taken.

Since we DO have such choice option for nameservers and SPF, it would be good to -also- have such choice optoins for both DKIM selectors and DMARC settings.
So have the check or uncheck to either use from backup or use local values, same like with SPF and nameservers.

However, that would be a feature request.
 
@Richard G
Since this server using "x2", it should re-create the record with "x2".

Use "x" from the backup is useless and email sender doesn't work either, because I build the Exim with "dkim_selector=x2".

#But this issued can workaround by just create the backup without DNS record, or use "RESET TO DEFAULT" feature one by one for all domains.
 
It might be even a bug. I don't know what is behind the restore process. Does directadmin re-create a "x" record in DNS or simply copy/paste it from DNS zone dump.
 
Back
Top