What is a “multi-string” TXT record?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

You're building out your authentication records and suddenly you see a warning: "Your SPF record is too long." That's where multi-string TXT records come in.

The core problem: DNS has a 255-character limit per string. If you've got a complex SPF record with lots of includes, or a 2048-bit DKIM key, it'll exceed that limit. Instead of failing entirely, DNS lets you split the content across multiple strings. The system concatenates them back together on the receiving end.

What it looks like: A multi-string record in your DNS looks like this: "first 255 characters here" "next characters here". Your DNS provider either handles the splitting automatically or expects you to format it manually with quotation marks around each chunk.

The catch: Some DNS providers split records perfectly. Others have quirky bugs where the quotes don't render right, or spaces get inserted between strings, breaking authentication. A few older systems don't support multi-string records at all. That's why it's worth testing after you set it up.

What to do next: Check your current SPF record length with our free SPF checker tool. If it's under 255 characters, you're fine. If it's longer, ask your DNS provider whether they auto-split or require manual formatting. Then validate your records are received correctly by checking them again after 24 hours.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Master multi-string TXT records without breaking authentication.

Our SPF record is getting long, and I'm seeing warnings about multi-string TXT records. Can you explain this in plain English? How do I know if my current SPF actually needs this? Walk me through the format and help me understand which DNS providers handle it well versus badly.

Edit the yellow boxes, then send to the AI of your choice.