-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TXT records of length more than 255 characters. #1428
Comments
The content of a TXT record is a sequence of <character-string>s, each of which is itself limited to maximum content length of 255 characters (and it isn't even possible to attempt expressing a longer one on the wire).
Some higher-level protocols such as SPF interpret a TXT record containing multiple <character-string>s by concatenating those strings and treating them as a single longer string (cf. RFC 7208 section 3.3), but that is not inherent to the DNS, which must therefore preserve each individual element of the sequence. |
As mentioned above, this is unfortunately a limitation in DNS itself and how to address it is protocol specific. Closing. |
In some cases the TXT record might have more than 255 characters. But dns does not support with more than 255 characters. And also getting error like "dns: string exceeded 255 bytes in txt".
The text was updated successfully, but these errors were encountered: