DigitalOcean DNS TXT record concatenation

Posted April 24, 2013 5.1k views
Hi, I am in the process of moving over a bunch of domains from another VPS provider. I have about 10 different domains with DKIM and SPF entries that have worked for years at this other provider. I entered them into the DigitalOcean DNS manager and I am receiving errors from test providers and direct dumping into GMAIL/YAHOO/etc spam/junk folders. The test results show that SPF TXT entries made in DigitalOcean DNS such as: @ v=spf1 ipv4:aaa.bbb.ccc.ddd -all are being sent to SPF systems as: domain.tld. SPF (no records) domain.tld. 7200 IN TXT "v=spf1ipv4:aaa.bbb.ccc.ddd-all"

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
I've done some dig(1)ing and found that for some reason, DigitalOcean is separating the entries rather than delivering them as a single answer

Proper DNS Response:
domain.tld. 3600 IN TXT "v=spf1 a:host.domain.tld -all"

DigitalOcean DNS Response:
domain.tld. 7102 IN TXT "v=spf1" "a:host.domain.tld" "-all"

I guess I will try surrounding the TXT payload in quotes and see if that fixes things.
Aaand, quotes appear to work.

Sorry to bug everyone.