Greetings.
I am very new to everything about domains and such things, so I will try to explain my problem as best as I can:
I followed this guide in order to make mails outgoing from my VPS less of a threat to the outside world, but the DKIM/DMARC configuration didn’t seem to work. I have a TXT name: mail._domainkey.mydomain.com and the text value: v=DKIM1; k=rsa; p=keystring
However, in the DO Control Panel, in the “Zone file” area, I’m shown this:
mail._domainkey.mydomain.com.mydomain.com. 1800 IN TXT v=DKIM1; k=rsa; p=keystring
I’m not sure it should be using the domain name twice, so I changed the TXT name to simply: mail._domainkey
And that fixed the “Zone file” repetition. However, this website hasn’t been able to validate the DKIM key in any of the two aforementioned ways, and always gives me the following error:
DNS query failed for 'mail._domainkey.mydomain.com':NXDOMAIN
A public-key (p=) is required```
What am I doing wrong, and how can I fix it?
As a side note, "mydomain.com is just an alias I used to keep my actual domani hidden. Additionally, I don't have any ports open other than a custom port for OpenVPN and another custom port for nginx, in case it needs an open port.
If you need more info, I will gladly provide it.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.