Skip to main content

What’s the correct syntax for quotes and spaces?

TXT record syntax can be confusing because providers differ:

General rules:

The actual record value does not include outer quotes.

Quotes in DNS interfaces are delimiters, not content.

Spaces separate concatenated strings.

Provider variations:

Some add quotes automatically.

Some require you to include them.

Some strip them, some preserve them.

Testing: Always verify with dig or online tools. The actual published record should not have extra quotes or spaces.

Common errors:

Double-quoting (quotes inside quotes).

Missing quotes causing truncation.

Extra spaces breaking parsing.

Different port registries have different form formatting rules. Verify the final registered entry matches your intent.