Request to increase Azure DNS TXT record length

Eric Miller 71 Reputation points
2025-08-14T13:57:31.8566667+00:00

Requesting to increase Azure DNS public TXT record length.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
{count} votes

Accepted answer
  1. Ganesh Patapati 9,005 Reputation points Microsoft External Staff Moderator
    2025-08-14T14:56:15.12+00:00

    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.

    Accepted answer

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.