The rules a label has to follow
A domain name is a series of labels separated by dots. In shop.example.com the labels are shop, example and com. The DNS sets a handful of hard limits on each label, and registries add their own rules on top. This checker tests the part you would register, the label in front of the extension, against the common rules and adds a few notes about how the name reads.
| Rule | Source | What the checker does |
|---|---|---|
| A label is at most 63 characters | RFC 1035 | Fails names longer than 63 |
| Letters, digits and hyphens only (the LDH rule) | RFC 1035 and RFC 1123 host name rules | Fails any other character, including spaces and underscores |
| No hyphen at the start or end of a label | Host name rules | Fails a leading or trailing hyphen |
Hyphens in the third and fourth positions are reserved for internationalised names (the xn-- prefix) | IDNA rules, RFC 5891 | Warns about any double hyphen |
| The whole name, all labels and dots, is at most 253 characters in text form | DNS limits | Not checked; only matters for deep subdomains |
How to enter a name
Type the label and an extension, such as riverbend-books.com. The checker splits at the last dot, treats the part before it as the label, and runs the tests on that part. If you type a subdomain such as blog.example.com, the dot inside blog.example is reported as an invalid character, because the checker expects a single label. Upper case is converted to lower case before checking, since the DNS does not distinguish between them.
Reading the result
- Pass and fail lines refer to the hard rules above. A fail means no registry will accept the label as typed.
- Warnings flag things that are legal but worth a second look: a double hyphen, a name made only of digits, a long name.
- Counts of characters, letters, digits and hyphens help when you compare short-list candidates.
- Variations are simple rewrites, such as adding a prefix or removing hyphens, for you to check elsewhere. The checker does not look up whether any name is taken.
Registry rules the checker cannot see
Passing the syntax tests does not mean a registry will accept a name. Many registries set a minimum length, reserve certain words or very short names, or limit some extensions to particular groups. Country-code registries often have their own character rules and eligibility requirements. Before you settle on a name, read the registration policy of the registry that runs the extension; IANA's root zone database links to each one.
Recent searches
The list under the checker keeps your last ten names in your browser's local storage so you can return to them. Nothing is sent anywhere, and the Clear button empties the list.