Amazon how to create TXT record using DKIM syntax
What is DKIM?
DomainKeys Identified Mail (DKIM) is an email standard to make sure that an email comes from a specific domain.
Amazon does not allow TXT value?
To properly configure the “DKIM” for your Amazon lightsail domain use newlines to split the parts and use count character tools to check each line have no more than 255 chars.
When you set up DKIM for a domain identity, the full record value will be not accepted by Amazon due chars limit
v=DKIM1; k=rsa; p=longRecordkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr97smZSZjlQzP/fjcewHMaIJiTG6TGsvpZ9uOpV++x9KwnQTeC0JfuqO+Ckg9Jf8lFMkrZUy5km4Sk9eC5Y/czy3hBUWeO8+TxhrpHrF2t94hb8if1b+VJgxd914egcjWiZq/AlIoQObhHp19QwosTfpWddXvNIf7CCz9gx/1wX3iL0hMiCvd6PNoveryLongHOlcJZU2zsyL7TcY6k1tQWA5/O/ZQIegLK7YDcA2H3YYhrt7gXHmFqnjETyNWJdtIuGkmTjAChuEjbOrNDZb722Q7OaioxSWQ5G41rygaF7JxShlDbtsGO0hpWoL/wHUPQLcZ8xCd12tOLEn2wXkwIDAQAB;
Split the DKIM key value into two parts but the split form is also invalid for lightsail
"v=DKIM1; k=rsa; p=longRecordkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr97smZSZjlQzP/fjcewHMaIJiTG6TGsvpZ9uOpV++x9KwnQTeC0JfuqO+Ckg9Jf8lFMkrZUy5km4Sk9eC5Y/czy3hBUWeO8+TxhrpHrF2t94hb8if1b+VJgxd914egcjWiZq/AlIoQObhHp19QwosTfpWddXvNIf7CCz9gx/1wX3iL0hMiCvd6PNoveryLong" "HOlcJZU2zsyL7TcY6k1tQWA5/O/ZQIegLK7YDcA2H3YYhrt7gXHmFqnjETyNWJdtIuGkmTjAChuEjbOrNDZb722Q7OaioxSWQ5G41rygaF7JxShlDbtsGO0hpWoL/wHUPQLcZ8xCd12tOLEn2wXkwIDAQAB;"
The valid Amazon DKIM TXT record will be 2 lined string with double quotes and 255 chars per line
""v=DKIM1;k=rsa;p=longRecordkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr97smZSZjlQzP/fjcewHMaIJiTG6TGsvpZ9uOpV++x9KwnQTeC0JfuqO+Ckg9Jf8lFMkrZUy5km4Sk9eC5Y/czy3hBUWeO8+TxhrpHrF2t94hb8if1b+VJgxd914egcjWiZq/AlIoQObhHp19QwosTfpWddXvNIf7CCz9gx/1wX3iL0hMiCvd6PNo"
"veryLongHOlcJZU2zsyL7TcY6k1tQWA5/O/ZQIegLK7YDcA2H3YYhrt7gXHmFqnjETyNWJdtIuGkmTjAChuEjbOrNDZb722Q7OaioxSWQ5G41rygaF7JxShlDbtsGO0hpWoL/wHUPQLcZ8xCd12tOLEn2wXkwIDAQAB;""