Hello Eric Miller
In Azure DNS, a single TXT record can contain multiple strings, with each string being a maximum of 255 characters in length.
If your requirement exceeds this limit, you may need to break down the information you want to include into smaller chunks and use multiple TXT records.
Azure supports multiple strings in a single TXT record, allowing you to split longer values—such as DKIM keys—into separate strings of 255 characters or less.
Official Limits
As stated in TXT records
- Each string must be 255 characters or fewer.
- To exceed this, split the value into multiple quoted strings.
- Azure DNS supports this format, so you can split your long TXT record into chunks of ≤255 characters.
The multiple strings in a DNS record shouldn't be confused with the multiple TXT records in a TXT record set. A TXT record set can contain multiple records, each of which can contain multiple strings. Azure DNS supports a total string length of up to 4096 characters in each TXT record set (across all records combined).
NOTE: This is a hard limit and cannot be increased. (total string length of up to 4096)
I hope this was helpful!
Please click Accept Answer and upvote if the above was helpful.