the-longest-single-dns-label-you-can-register-right-now-is-63ch.com
The bit before .com is exactly 63 characters — the hard
maximum for a single DNS label. I bought it and put the notes on the
domain itself.
A DNS name is a sequence of labels separated by dots. On the wire there are no dots: each label is a length byte plus its octets, and the name ends with a zero byte for the root. That encoding is why the limits look the way they do.
-
One label: 63 octets. Letters, digits, hyphens.
Accents and non-Latin scripts never go on the wire as-is —
café.combecomesxn--caf-dma.com(punycode), and that ASCII form still has to fit in 63. Emoji and CJK names burn budget faster than they look. - Whole name: 255 octets on the wire — length bytes, label bytes, and the root zero.
- 253 characters in the dotted form you type, because the framing bytes eat the difference.
Maximal shape: four labels of 63, 63, 63, and 61. That is 250 label octets + 4 length bytes + 1 root zero = 255. Swap the length bytes for three dots and you get the 253-character string people quote.
Why 63?
RFC 1035, not taste. The label length byte only has values 0–63 free — the top two bits are reserved for message-compression pointers — so 63 is a ceiling, not a guideline. 255 is just the size of the domain-name field in that message format. Every resolver and TLS stack of the last forty years assumes those bounds; raising them is not happening.
The namespace is not running out
Sixty-three characters sounds tight until you count combinations. A label has 36 legal characters at each end (no leading or trailing hyphen) and 37 in the middle, over lengths 1–63:
- about 6.1 × 1098 names under one TLD
- about 8.5 × 10101 across ~1,400 root TLDs, ignoring subdomains
There are roughly 1080 atoms in the observable universe.
One TLD alone has room for six billion billion names per atom.
~350 million registered .com names is on the order
of 10−91 of that space. We are not out of names — we are
out of pronounceable ones.
Longest thing you can actually buy
Protocol max for a name is 253 characters. The longest
registrable second-level domain is different: one label plus
the longest open TLD. That TLD is
.international (13 characters). Longer strings exist in
the root — .travelersinsurance at 18 — but they are
closed brand TLDs. So the public ceiling is 63 + 1 + 13 =
77 characters, versus 67 for this site’s
.com.
Caveat: protocol maximum ≠ registrar promise. Plenty of forms and browsers impose stricter limits of their own. The full write-up lives on the domain — go read it there, if only to feel the hostname in the address bar.