DigitalOcean DNS TXT record concatenation

April 24, 2013 3k 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"
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.
Have another answer? Share your knowledge.