DKIM error - Cloudflare adds characters

What is the name of the domain?

www.espanolconcarmen.com

What is the error number?

dkim=permerror (invalid p tag value in public key record)

What is the error message?

dkim=permerror (invalid p tag value in public key record)

What is the issue you’re encountering

I have problems in the message redemption because DKIM is not correct (dkim=permerror (invalid p tag value in public key record)). I have created DNS with the data provided by the Hosting but when I copy the DNS value in the Cloudflare DNS record, it adds certain characters and truncates the original text string that I have pasted. I think this is what is causing the DKIM error problem. Please could you tell me how to solve it?

What steps have you taken to resolve the issue?

I have created a DNS record in Cloudflare with the value given by the Hosting but when I save it Cloudflare truncates the original string and adds characters

What is the name of the DKIM record, and what characters are added/how is the string truncated?

Can you share what exactly you added as the value of the record?

2 Likes

Tells me my hosting is:
p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz6DHGh3wEOkQ4/a4ASluSv3jZsI7UhzU7+8GVs68YukWuvH8bsSJk1HpIY7QKeOFMbwWHy2wUV3ClmOKXSCIcULQox0eou8Yhb78SfJ+ueVdzKWrfjA6BxvK/nD0o6e5XYSS9QUZjLrrz5/pU2GmJIl4VdzwibDYdbp/0YQQY7w8k0K2UZwjkMGApbI4j10JovpnYy9cOD0FzLArbnCeh71MS6zutDbgKF6myPznXOyyVlV0b638wzyhbGPzqvZQgVkgkRtgdxIc6OOwxOAvpUYh/pCkL1mrPwziTfofD+ye4iVydq8roBgBDT4P/IL13iUt7wPRP0t4/aWC/rqkewIDAQAB\;

I copy it as is into the Cloudflare DNS record and save. But when I look it up, I see that it is saved like this:
p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz6DHGh3wEOkQ4/a4ASluSv3jZsI7UhzU7+8GVs68YukWuvH8bsSJk1HpIY7QKeOFMbwWHy2wUV3ClmOKXSCIcULQox0eou8Yhb78SfJ+ueVdzKWrfjA6BxvK/nD0o6e5XYSS9QUZjLrrz5/pU2GmJIl4VdzwibDYdbp/0YQQY7w8k0K2UZwjkMGApbI4j10Jo" "vpnYy9cOD0FzLArbnCeh71MS6zutDbgKF6myPznXOyyVlV0b638wzyhbGPzqvZQgVkgkRtgdxIc6OOwxOAvpUYh/pCkL1mrPwziTfofD+ye4iVydq8roBgBDT4P/IL13iUt7wPRP0t4/aWC/rqkewIDAQAB\\;"

Thanks!!

Can you share the actual name of the record? This looks all good, except for a missing quote at the beginning, which I guess you just didn’t copy.

The split in the middle of the record is completely normal, as TXT records need to be split every 255 characters.

Edit: Actually, there is a backslash (\) at the end of your record. I don’t think that’s supposed to be there, though I might be wrong there.

1 Like

I’ve just edited my previous post.

I believe the backslash \ at the end of your record is wrong. The semicolon ; at the end is also unnecessary, so can you try to remove both?

1 Like

Perfect, I’ll try it and let you know, thank you very much.

I think that’s solved. Thank you very much!
image

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.