No combination of pasting this into my DNS appears to work. I remove the quotes, I change to PEM format, nothing. Every iteration throws an error. I can get the Version flag to work, the k and t flags but the public key simply is not recognized no matter how I paste it. mxtoolbox.com, the tool I’m using to check my DKIM record tells me that with the quotes it cannot understand the v value, removing the quotes doesn’t work, changing to the PEM key and changing k to pem doesn’t appear to function.
At this point I’m at a loss as to what exactly I’m supposed to be pasting into my DKIM TXT record.
Did you use this format
“v=DKIM1; k=rsa; t=s; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6b4mMRwHryYqj3W+9HW0rkvrsY8K0G3q9gbui1MaEzLk+IUS/Xzj5LX4MrxAuiqvLgyruYv0sBaYBHnfQlRPKdlCpXV4HoLagj+J6+cogqd73CKPUx0rlF6o9gfMF08UJxidTowd+cchpIaAulcBSlXkEwxcgY91CHceuiYesBnNwmMp+Ce31X/2Kxt9Yhybx68SqaGPYRYc2rLrLjcEJlJ9CCcbCR/CpKHeje20rGoLZQe/9khQa6N2u4W1q5bj0leqo+rYRqIsiEbYSGbzvbKsMe5IQHy5tugsAZYVhb/gM1e63KSbU/DP0mjaup3BUuLnZCxdVmRWRZaOAnsHqwIDAQAB”
Yes, this produces an error the v tag is malformed and therefore not understood. Being seen as "v instead of simply DKIM1
I did eventually get it working via sheer brute force. Whatever Virtualmin is telling me to copy in the DKIM DNS records for domains section is not accurate. At least not so far as Linode is concerned.
The p value is not a valid rsa string, but the k tag indicates so, which fails.
I went to Report URI: PEM Decoder, entered the public key there, and extracted the rsa value, put that in…
I’ve had no issue using it at vultr, inmotionhosting and cloudflare.
I think only difference maybe using the quotes at beginning and end.
The docs at Linode show quotes are not used. At least you got it working. Has it been validated at mxtools. also send to a gmail address and view the original from tools menu. (see below screenshot)
A DKIM record or DomainKeys Identified Mail record displays the public key for authenticating messages that have been signed with the DKIM protocol. This practice increases the capability to check mail authenticity. A typical DKIM record looks like the following:
Docs
DKIM records are implemented as text records. The record must be created for a subdomain, which has a unique selector for that key, then a period (.), and then _domainkey.example.com. The type is TXT, and the value includes the type of key, followed by the actual key.
Yup, I followed Linodes docs, they’re usually spot on but in their case the strings are a single string, where as the one I’m getting from Virtuammin are several strings in quotations.
Here’s what I get if I just paste in the string verbatim