4

I'm writing a regex for validating domain names. I'm looking at section 2.3.1 (starts on the bottom of page 7) and in the section it states:

They must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphen. There are also some restrictions on the length. Labels must be 63 characters or less.

But I've seen domains all over the place that have digits as the leading character? Is there another RFC that I am missing that changes this?

Community
  • 1
  • 1
wheeler
  • 2,823
  • 3
  • 27
  • 43

0 Answers0