These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Fix DKIM String in DNS Records on the new forum.
Hey!
When adding a new domain into virtualmin, the DKIM string in DNS Records is separated in many quotes. This causes a issue when you need to export this type of record to Cloudflare for example.
Is it possible to change this behavior and set the whole DKIM string in just one quote, without any spaces?
Default:
dkim._domainkey.mydomain.com. IN TXT ( "v=DKIM1; k=rsa; t=s; p=PART OF THE KEY IS HERE"
"THE SECOND PART COMES HERE"
"THE THIRD PARTY COMES HERE"
"THE FOURTH PARTY COMES HERE"
"THE FIFTH PARTY COMES HERE"
"THE END IS HERE" )
Expected behavior:
dkim._domainkey.mydomain.com. IN TXT ( "v=DKIM1; k=rsa; t=s; p=THE WHOLE STRING SITS HERE, WITHOUT SPACES OR INTERNAL QUOTES" )
EDIT::::
Nevermind, just found out it was necessary to split the chuncks in order to BIND work properly. https://www.virtualmin.com/node/25318