DNS 记录

DNS 记录拆分工具

将较长的电子邮件身份验证记录格式化为符合 DNS 服务商要求的有效分段。

为什么 TXT 记录需要拆分

A single DNS TXT string holds up to 255 characters under the DNS protocol (RFC 1035). Because a 2048-bit DKIM public key runs roughly 400 characters, it exceeds a single string limit. To publish it cleanly, you store one TXT record composed of multiple quoted strings that DNS resolvers concatenate automatically on lookup.

Each chunk sits inside its own pair of double quotes, separated from the next chunk by a single space outside the quotes. A stray space inside the quotes becomes part of the reassembled value and breaks DKIM signature verification. This splitter counts bytes accurately and places the quotes and spaces where your DNS host expects them.

自动拆分

Cloudflare and several managed DNS hosts split and quote long TXT values automatically when you paste the raw string.

手动拆分

Route 53 and Google Cloud DNS require you to split values over 255 characters into quoted strings before saving the record.

Zone 文件

BIND-style zone files wrap multi-string records in parentheses when they span multiple lines, with each 255-character segment quoted individually.

Splitting runs locally in your browser without sending your DNS records or selectors to an external server.

拆分您的记录

Paste your TXT record value, select your DNS provider format, and copy the split output. Use the formatting toggles if you need custom quoting or line breaks.

您的记录

粘贴一个较长的 TXT 值:DKIM 密钥、SPF 或任何超过 255 个字符的记录。已拆分的记录或区域文件记录同样适用。

DNS 提供商

选择您要将记录粘贴到的目标。

用引号包裹各部分

大多数提供商需要引号;部分提供商(如 Azure)会自动添加。

每部分单独一行

将每个字符串放在单独一行,而非合并为一行。

区域文件块

将所有内容包裹在 name TTL IN TXT ( … ) 块中,适用于 BIND 风格的文件。

每部分最大长度

DNS 限制为 255。仅在您的提供商要求更严格时才降低此值。

字节

拆分记录

将此内容复制为 DNS 提供商中的单条 TXT 记录。

在左侧粘贴记录,即可在此查看拆分结果。

对于 Bird 发送域名,请按照DNS 发布指南添加记录,然后检查域名验证状态。

使用 Bird 开始构建, 只需几分钟。