5

I am trying to set up a DKIM record on Amazon's Route 53. I just choose to add TXT record with name like this: mandrill._domainkey.domain.com

and the value is:

"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrLHiExVd55zd/IQ/J/mRwSRMAocV/hMB3jXwaHH36d9NaVynQFYV8NaWi69c1veUtRzGt7yAioXqLj7Z4TeEUoOLgrKsn8YnckGs9i3B3tVFB+Ch/4mPhXWiNfNdynHWBcPcbJ8kjEQ2U8y78dHZj1YeRXXVvWob2OaKynO8/lQIDAQAB;"

but Route 53 keeps complaining about:

The record set could not be saved because: - The Value field contains invalid characters or is in an invalid format.

4

1 回答 1

5

我只需要删除所有新行就可以了!

例如这有效......注意大的双引号文本现在是几个较小的引号字符串

"v=DKIM1;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm1MmXbj57e""dW5nN1Yi6SxLBa+n4DcMTL8+fbhqarL0PRlzlriOtxWmqZzKlkoh9I0eBXgSNj2g""pUUl32fEirdf2KM7ZAxbvJohn1P/18I3lr65CjQGPm5iljIVQFPpUzwepbVt""frg/MjJtMkE2JeSs03TBTtCkthepQrV/tmMVoqycOhp32LklGtqfl/eYNnjFDPt5""ID0FZMlXucdkMl4fapi66edKKAbK0RLgOZ19uE2EdGkU+lDaVVcBdJ9omTnTf2kq""4zdZ9K+PG7GJO0vyRSIzyCMGnAmEkgyTFEBh7+hrVKapr71o6/y3eXtYToQiC5qP""1vX6u7o6kkd/Bi7QIDAQAB"

请注意,我必须将一个很长的字符串转换为一系列较小的字符串

原来的 :

"this is sample very long string alaalal bblblbbl ckckcck "   

什么有效:

"this is sample very"" long string alaa""lal bblblbbl ckckcck "   
于 2014-01-26T13:08:44.930 回答