DKIM woes - failed for domain, invalid key
I'm having an issue with DKIM validation. Can anyone give me advice on how to resolve it? I've read a few different tutorials on this (the main one being https://www.linuxbabe.com/mail-server/setting-up-dkim-and-spf) and it looks correct to me.
(Info below edited out) I resolved this by deleting the DNS record, regenerating the key and re-entering the TXT record.