Suggested DNS records for SPF and DKIM - Syntax

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Virtualmin version 7.10.0

In Virtualmin I have these suggested records for SPF and DKIM…

NAME TYPE VALUE
sub.domain.tld. TXT “v=spf1 a mx a:sub.domain.tld ip4:000.000.000.000 ip4:000.000.000.000 ?all”
202402._domainkey.sub.domain.tld. TXT ( “v=DKIM1; k=rsa; t=s; p=VALUE” “VALUE” “VALUE” “VALUE” “VALUE” “VALUE” )

I had them setup on our company’s DNS servers but it seems we still have problems with them maybe for their syntax.

Does SPF records values need to include " character at beginning and end in it?
Does DKIM records values need to include ([SPACE] characters at beginning and [SPACE]) at end in it?

Or I have to make them corrected as below without those characters?

NAME TYPE VALUE
sub.domain.tld. TXT v=spf1 a mx a:sub.domain.tld ip4:000.000.000.000 ip4:000.000.000.000 ?all
202402._domainkey.sub.domain.tld. TXT “v=DKIM1; k=rsa; t=s; p=VALUE” “VALUE” “VALUE” “VALUE” “VALUE” “VALUE”

Thanks for your help…

Try removing the quotes from domainkey

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