Skip to content
Advertisement

How long can a TLD possibly be?

I’m working on an email validation regex in PHP and I need to know how long the TLD could possibly be and still be valid. I did a few searches but couldn’t find much information on the topic. So how long can a TLD possibly be?

Advertisement

Answer

DNS allows for a maximum of 63 characters for an individual label.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement