DNS 记录
DNS 记录拆分工具
Split DKIM keys and long TXT records into quoted 255-character chunks formatted for your DNS provider so resolvers reassemble your key without syntax errors.
为什么 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 记录。
在左侧粘贴记录,即可在此查看拆分结果。