Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions src/validators/_tld.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 2024052400, Last Updated Fri May 24 07:07:01 2024 UTC
# Version 2026102100, Last Updated Wed Oct 21 07:07:01 2026 UTC
AAA
AARP
ABB
Expand Down Expand Up @@ -118,7 +118,6 @@ BE
BEATS
BEAUTY
BEER
BENTLEY
BERLIN
BEST
BESTBUY
Expand Down Expand Up @@ -297,7 +296,6 @@ CY
CYMRU
CYOU
CZ
DABUR
DAD
DANCE
DATA
Expand Down Expand Up @@ -346,7 +344,6 @@ DOWNLOAD
DRIVE
DTV
DUBAI
DUNLOP
DUPONT
DURBAN
DVAG
Expand Down Expand Up @@ -489,7 +486,6 @@ GODADDY
GOLD
GOLDPOINT
GOLF
GOO
GOODYEAR
GOOG
GOOGLE
Expand Down Expand Up @@ -623,12 +619,10 @@ JP
JPMORGAN
JPRS
JUEGOS
JUNIPER
KAUFEN
KDDI
KE
KERRYHOTELS
KERRYLOGISTICS
KERRYPROPERTIES
KFH
KG
Expand Down Expand Up @@ -660,7 +654,6 @@ LA
LACAIXA
LAMBORGHINI
LAMER
LANCASTER
LAND
LANDROVER
LANXESS
Expand Down Expand Up @@ -692,7 +685,6 @@ LIMITED
LIMO
LINCOLN
LINK
LIPSY
LIVE
LIVING
LK
Expand Down Expand Up @@ -748,6 +740,7 @@ MEME
MEMORIAL
MEN
MENU
MERCK
MERCKMSD
MG
MH
Expand Down Expand Up @@ -802,7 +795,6 @@ NA
NAB
NAGOYA
NAME
NATURA
NAVY
NBA
NC
Expand Down Expand Up @@ -918,7 +910,6 @@ POLITIE
PORN
POST
PR
PRAMERICA
PRAXI
PRESS
PRIME
Expand Down Expand Up @@ -952,7 +943,6 @@ REALTOR
REALTY
RECIPES
RED
REDSTONE
REDUMBRELLA
REHAB
REISE
Expand Down Expand Up @@ -1039,7 +1029,6 @@ SG
SH
SHANGRILA
SHARP
SHAW
SHELL
SHIA
SHIKSHA
Expand Down Expand Up @@ -1243,6 +1232,7 @@ WATCH
WATCHES
WEATHER
WEATHERCHANNEL
WEB
WEBCAM
WEBER
WEBSITE
Expand All @@ -1260,7 +1250,6 @@ WINDOWS
WINE
WINNERS
WME
WOLTERSKLUWER
WOODSIDE
WORK
WORKS
Expand Down
4 changes: 4 additions & 0 deletions tests/test_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def test_returns_true_on_valid_domain(value: str, rfc_1034: bool, rfc_2782: bool
("example_.com", True, False, True),
("somerandomexample.xn--fiqs8s", True, False, False),
("somerandomexample.onion", True, False, False),
# delegated 2026-07-23
("somerandomexample.web", True, False, False),
],
)
def test_returns_true_on_valid_top_level_domain(
Expand Down Expand Up @@ -100,6 +102,8 @@ def test_returns_failed_validation_on_invalid_domain(value: str, rfc_1034: bool,
("_example.#13", True, False, True),
("example_.fo-ul", True, False, True),
("somerandomexample.xn-n-fiqs8s", True, False, False),
# retired from the root zone
("somerandomexample.goo", True, False, False),
],
)
def test_returns_failed_validation_invalid_top_level_domain(
Expand Down
Loading