Skip to content

Commit

Permalink
DomainName: Updated two-level domain extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Nov 27, 2024
1 parent e5e83fd commit e4aeccb
Showing 1 changed file with 40 additions and 3 deletions.
43 changes: 40 additions & 3 deletions Sources/OTCore/Abstractions/Network/DomainName.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ extension DomainName {
"art",
"net",
"tm",
"soc"
"soc",
// No longer available
"conf",
"gw",
"info",
"otc",
"telememo"
],

// Australia
Expand Down Expand Up @@ -355,11 +361,14 @@ extension DomainName {
"yk"
],

// France (TODO: Not exhaustive)
// France
"fr": [
"acovat",
"aeroport",
"veterinaire"
"veterinaire",
"tm",
"com",
"asso"
],

// Hungary
Expand Down Expand Up @@ -401,6 +410,11 @@ extension DomainName {
"szex"
],

// Netherlands
"nl": [
"co"
],

// New Zealand
"nz": [
// Unmoderated
Expand Down Expand Up @@ -1032,6 +1046,29 @@ extension DomainName {
"mp",
"pr",
"vi"
],

// Yugoslavia
"yu": [
"ac",
"co",
"org",
"cg"
],

// Zambia:
"zm": [
"ac",
"biz",
"co",
"com",
"edu",
"gov",
"info",
"mil",
"net",
"org",
"sch"
]
]

Expand Down

0 comments on commit e4aeccb

Please sign in to comment.