domain_name 0.6.20260829 → 0.6.20260907
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -0
- data/.github/workflows/publish-gem.yml +90 -6
- data/.github/workflows/update-public-suffix-list.yml +92 -0
- data/CHANGELOG.md +10 -0
- data/README.md +5 -0
- data/Rakefile +12 -2
- data/data/public_suffix_list.dat +147 -96
- data/lib/domain_name/etld_data.rb +83 -8
- data/lib/domain_name/version.rb +1 -1
- data/lib/domain_name.rb +3 -8
- data/test/test_domain_name.rb +25 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dae0595567db75e31a429d76bdecc2ee055fdc09675a5108c30bc5ba02f7d3ba
|
|
4
|
+
data.tar.gz: 42bc683fd3f28c8696a6d897d0005cc145ca7f39a8a678f00e744a41b1b386bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 930b6fe91d13c53171a0736d42fe471c5c71d4551c49e0097cf9e44258e24eef0dae44ae7b1d760806cf0a3fc7222ba2e9cdcff76a211d7049694da073557745
|
|
7
|
+
data.tar.gz: 419ec5e61f670b24f75d1f942eeadc63fb6e516b718e4ad4498d2ccb4cd9515d8ddc1469777ffa0074070ff36d44814c9f693751352bd5bf26590952c9623df6
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -11,17 +11,66 @@ permissions:
|
|
|
11
11
|
contents: read
|
|
12
12
|
|
|
13
13
|
jobs:
|
|
14
|
-
|
|
14
|
+
detect-release:
|
|
15
15
|
if: >-
|
|
16
16
|
${{
|
|
17
17
|
github.event.workflow_run.conclusion == 'success' &&
|
|
18
18
|
github.event.workflow_run.event == 'push' &&
|
|
19
19
|
github.event.workflow_run.head_repository.full_name == github.repository &&
|
|
20
|
-
|
|
20
|
+
(github.event.workflow_run.head_branch == 'master' ||
|
|
21
|
+
startsWith(github.event.workflow_run.head_branch, 'v')) &&
|
|
21
22
|
github.repository == 'knu/ruby-domain_name'
|
|
22
23
|
}}
|
|
23
24
|
runs-on: ubuntu-latest
|
|
24
25
|
|
|
26
|
+
permissions:
|
|
27
|
+
contents: read
|
|
28
|
+
pull-requests: read
|
|
29
|
+
|
|
30
|
+
outputs:
|
|
31
|
+
release-kind: ${{ steps.release.outputs.kind }}
|
|
32
|
+
|
|
33
|
+
steps:
|
|
34
|
+
- name: Harden Runner
|
|
35
|
+
uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
|
|
36
|
+
with:
|
|
37
|
+
egress-policy: audit
|
|
38
|
+
|
|
39
|
+
- name: Detect release
|
|
40
|
+
id: release
|
|
41
|
+
env:
|
|
42
|
+
GH_TOKEN: ${{ github.token }}
|
|
43
|
+
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
|
|
44
|
+
HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
|
|
45
|
+
run: |
|
|
46
|
+
set -euo pipefail
|
|
47
|
+
if [[ "$HEAD_BRANCH" == v* ]]; then
|
|
48
|
+
echo "kind=tag" >> "$GITHUB_OUTPUT"
|
|
49
|
+
exit
|
|
50
|
+
fi
|
|
51
|
+
|
|
52
|
+
count="$(gh api \
|
|
53
|
+
-H "Accept: application/vnd.github+json" \
|
|
54
|
+
"repos/${GITHUB_REPOSITORY}/commits/${HEAD_SHA}/pulls" \
|
|
55
|
+
--jq '[.[] | select(
|
|
56
|
+
.merged_at != null and
|
|
57
|
+
.base.ref == "master" and
|
|
58
|
+
.head.ref == "automation/public-suffix-list" and
|
|
59
|
+
.head.repo.full_name == "knu/ruby-domain_name"
|
|
60
|
+
)] | length')"
|
|
61
|
+
if [[ "$count" == 1 ]]; then
|
|
62
|
+
echo "kind=etld" >> "$GITHUB_OUTPUT"
|
|
63
|
+
fi
|
|
64
|
+
|
|
65
|
+
publish:
|
|
66
|
+
needs: detect-release
|
|
67
|
+
if: >-
|
|
68
|
+
${{
|
|
69
|
+
needs.detect-release.outputs.release-kind == 'tag' ||
|
|
70
|
+
needs.detect-release.outputs.release-kind == 'etld'
|
|
71
|
+
}}
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
|
|
25
74
|
environment:
|
|
26
75
|
name: rubygems.org
|
|
27
76
|
url: https://rubygems.org/gems/domain_name
|
|
@@ -36,12 +85,47 @@ jobs:
|
|
|
36
85
|
with:
|
|
37
86
|
egress-policy: audit
|
|
38
87
|
|
|
39
|
-
- name: Check out release
|
|
88
|
+
- name: Check out release commit
|
|
40
89
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
41
90
|
with:
|
|
42
91
|
fetch-depth: 0
|
|
43
92
|
persist-credentials: false
|
|
44
|
-
ref: ${{ github.event.workflow_run.
|
|
93
|
+
ref: ${{ github.event.workflow_run.head_sha }}
|
|
94
|
+
|
|
95
|
+
- name: Determine release tag
|
|
96
|
+
id: release
|
|
97
|
+
env:
|
|
98
|
+
HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
|
|
99
|
+
RELEASE_KIND: ${{ needs.detect-release.outputs.release-kind }}
|
|
100
|
+
run: |
|
|
101
|
+
set -euo pipefail
|
|
102
|
+
version="$(ruby -Ilib -e 'require "domain_name/version"; print DomainName::VERSION')"
|
|
103
|
+
[[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
|
|
104
|
+
if [[ "$RELEASE_KIND" == tag ]]; then
|
|
105
|
+
test "v${version}" = "$HEAD_BRANCH"
|
|
106
|
+
tag="$HEAD_BRANCH"
|
|
107
|
+
else
|
|
108
|
+
tag="v${version}"
|
|
109
|
+
fi
|
|
110
|
+
echo "tag=$tag" >> "$GITHUB_OUTPUT"
|
|
111
|
+
|
|
112
|
+
- name: Ensure release tag
|
|
113
|
+
env:
|
|
114
|
+
GH_TOKEN: ${{ github.token }}
|
|
115
|
+
HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
|
|
116
|
+
RELEASE_KIND: ${{ needs.detect-release.outputs.release-kind }}
|
|
117
|
+
TAG: ${{ steps.release.outputs.tag }}
|
|
118
|
+
run: |
|
|
119
|
+
set -euo pipefail
|
|
120
|
+
if tag_sha="$(git rev-parse --verify "${TAG}^{commit}" 2>/dev/null)"; then
|
|
121
|
+
test "$tag_sha" = "$HEAD_SHA"
|
|
122
|
+
else
|
|
123
|
+
test "$RELEASE_KIND" = etld
|
|
124
|
+
gh api --method POST "repos/${GITHUB_REPOSITORY}/git/refs" \
|
|
125
|
+
--raw-field "ref=refs/tags/${TAG}" \
|
|
126
|
+
--raw-field "sha=${HEAD_SHA}"
|
|
127
|
+
git tag "$TAG" "$HEAD_SHA"
|
|
128
|
+
fi
|
|
45
129
|
|
|
46
130
|
- name: Set up Ruby
|
|
47
131
|
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
@@ -55,7 +139,7 @@ jobs:
|
|
|
55
139
|
- name: Verify release tag
|
|
56
140
|
env:
|
|
57
141
|
EXPECTED_SHA: ${{ github.event.workflow_run.head_sha }}
|
|
58
|
-
TAG: ${{
|
|
142
|
+
TAG: ${{ steps.release.outputs.tag }}
|
|
59
143
|
run: |
|
|
60
144
|
set -euo pipefail
|
|
61
145
|
test "$(git rev-parse "${TAG}^{commit}")" = "$EXPECTED_SHA"
|
|
@@ -68,7 +152,7 @@ jobs:
|
|
|
68
152
|
- name: Create GitHub release
|
|
69
153
|
env:
|
|
70
154
|
GH_TOKEN: ${{ github.token }}
|
|
71
|
-
TAG: ${{
|
|
155
|
+
TAG: ${{ steps.release.outputs.tag }}
|
|
72
156
|
run: |
|
|
73
157
|
set -euo pipefail
|
|
74
158
|
gh release create "$TAG" --verify-tag --generate-notes
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
name: Update Public Suffix List
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "23 0 * * *"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: update-public-suffix-list
|
|
13
|
+
cancel-in-progress: false
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
update:
|
|
17
|
+
if: github.repository == 'knu/ruby-domain_name'
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
permissions:
|
|
21
|
+
actions: write
|
|
22
|
+
contents: write
|
|
23
|
+
pull-requests: write
|
|
24
|
+
|
|
25
|
+
steps:
|
|
26
|
+
- name: Harden Runner
|
|
27
|
+
uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0
|
|
28
|
+
with:
|
|
29
|
+
egress-policy: audit
|
|
30
|
+
|
|
31
|
+
- name: Check out
|
|
32
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
33
|
+
with:
|
|
34
|
+
persist-credentials: false
|
|
35
|
+
|
|
36
|
+
- name: Set up Ruby
|
|
37
|
+
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
38
|
+
with:
|
|
39
|
+
bundler-cache: true
|
|
40
|
+
ruby-version: ruby
|
|
41
|
+
|
|
42
|
+
- name: Update Public Suffix List
|
|
43
|
+
run: |
|
|
44
|
+
bundle exec rake etld_data etld_data:changelog
|
|
45
|
+
|
|
46
|
+
- name: Check for list changes
|
|
47
|
+
id: changes
|
|
48
|
+
run: |
|
|
49
|
+
if git diff --quiet -- data/public_suffix_list.dat; then
|
|
50
|
+
echo "changed=false" >> "$GITHUB_OUTPUT"
|
|
51
|
+
else
|
|
52
|
+
echo "changed=true" >> "$GITHUB_OUTPUT"
|
|
53
|
+
fi
|
|
54
|
+
|
|
55
|
+
- name: Run tests
|
|
56
|
+
if: steps.changes.outputs.changed == 'true'
|
|
57
|
+
run: |
|
|
58
|
+
bundle exec rake test
|
|
59
|
+
|
|
60
|
+
- name: Read update timestamp
|
|
61
|
+
if: steps.changes.outputs.changed == 'true'
|
|
62
|
+
id: update
|
|
63
|
+
run: |
|
|
64
|
+
timestamp="$(ruby -Ilib -e 'require "domain_name/etld_data"; print DomainName::ETLD_DATA_DATE')"
|
|
65
|
+
echo "timestamp=$timestamp" >> "$GITHUB_OUTPUT"
|
|
66
|
+
|
|
67
|
+
- name: Create pull request
|
|
68
|
+
if: steps.changes.outputs.changed == 'true'
|
|
69
|
+
id: pull-request
|
|
70
|
+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
71
|
+
with:
|
|
72
|
+
add-paths: |
|
|
73
|
+
CHANGELOG.md
|
|
74
|
+
data/public_suffix_list.dat
|
|
75
|
+
lib/domain_name/etld_data.rb
|
|
76
|
+
lib/domain_name/version.rb
|
|
77
|
+
branch: automation/public-suffix-list
|
|
78
|
+
commit-message: Update the eTLD database to ${{ steps.update.outputs.timestamp }}.
|
|
79
|
+
delete-branch: true
|
|
80
|
+
token: ${{ github.token }}
|
|
81
|
+
title: Update the eTLD database to ${{ steps.update.outputs.timestamp }}
|
|
82
|
+
body: |
|
|
83
|
+
Update the bundled Public Suffix List and regenerate the eTLD database.
|
|
84
|
+
|
|
85
|
+
- name: Run CI for update branch
|
|
86
|
+
if: >-
|
|
87
|
+
steps.pull-request.outputs.pull-request-operation == 'created' ||
|
|
88
|
+
steps.pull-request.outputs.pull-request-operation == 'updated'
|
|
89
|
+
env:
|
|
90
|
+
GH_TOKEN: ${{ github.token }}
|
|
91
|
+
run: |
|
|
92
|
+
gh workflow run ci.yml --ref automation/public-suffix-list
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.6.20260907](https://github.com/knu/ruby-domain_name/tree/v0.6.20260907) (2026-09-10)
|
|
4
|
+
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.6.20260902...v0.6.20260907)
|
|
5
|
+
|
|
6
|
+
- Update the eTLD database to 2026-09-07 20:57:24 UTC
|
|
7
|
+
|
|
8
|
+
## [v0.6.20260902](https://github.com/knu/ruby-domain_name/tree/v0.6.20260902) (2026-09-03)
|
|
9
|
+
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.6.20260829...v0.6.20260902)
|
|
10
|
+
|
|
11
|
+
- Update the eTLD database to 2026-09-02 06:04:05 UTC
|
|
12
|
+
|
|
3
13
|
## [v0.6.20260829](https://github.com/knu/ruby-domain_name/tree/v0.6.20260829) (2026-08-30)
|
|
4
14
|
[Full Changelog](https://github.com/knu/ruby-domain_name/compare/v0.6.20240107...v0.6.20260829)
|
|
5
15
|
|
data/README.md
CHANGED
|
@@ -48,6 +48,11 @@ Releases use `v`-prefixed version tags. Push the release commit to
|
|
|
48
48
|
successful tag CI run publishes the gem through RubyGems trusted
|
|
49
49
|
publishing and creates the GitHub release.
|
|
50
50
|
|
|
51
|
+
Public Suffix List update pull requests from the
|
|
52
|
+
`automation/public-suffix-list` branch are released automatically after
|
|
53
|
+
the merged commit passes CI on `master`. The release workflow creates
|
|
54
|
+
the matching tag before publishing.
|
|
55
|
+
|
|
51
56
|
Before the first automated release, register `knu/ruby-domain_name`,
|
|
52
57
|
workflow `publish-gem.yml`, and environment `rubygems.org` as a trusted
|
|
53
58
|
publisher at
|
data/Rakefile
CHANGED
|
@@ -28,6 +28,10 @@ task :etld_data do
|
|
|
28
28
|
rescue LoadError, NameError
|
|
29
29
|
data = ETLD_DATA_URI.read
|
|
30
30
|
end
|
|
31
|
+
if File.binread(ETLD_DATA_FILE) == data.b
|
|
32
|
+
puts 'eTLD database is up-to-date.'
|
|
33
|
+
next
|
|
34
|
+
end
|
|
31
35
|
puts 'eTLD database is modified.'
|
|
32
36
|
date = data.last_modified
|
|
33
37
|
File.write(ETLD_DATA_FILE, data)
|
|
@@ -51,10 +55,10 @@ task :etld_data do
|
|
|
51
55
|
end
|
|
52
56
|
|
|
53
57
|
namespace :etld_data do
|
|
54
|
-
task :
|
|
58
|
+
task :changelog do
|
|
55
59
|
if system('git', 'diff', '--exit-code', '--quiet', ETLD_DATA_FILE)
|
|
56
60
|
warn "Nothing to commit."
|
|
57
|
-
|
|
61
|
+
next
|
|
58
62
|
end
|
|
59
63
|
|
|
60
64
|
prev = `ruby -e "$(git cat-file -p @:lib/domain_name/version.rb); puts DomainName::VERSION"`.chomp
|
|
@@ -73,7 +77,13 @@ namespace :etld_data do
|
|
|
73
77
|
f.rewind
|
|
74
78
|
f.puts lines
|
|
75
79
|
end
|
|
80
|
+
end
|
|
76
81
|
|
|
82
|
+
task :commit => :changelog do
|
|
83
|
+
next if system('git', 'diff', '--exit-code', '--quiet', ETLD_DATA_FILE)
|
|
84
|
+
|
|
85
|
+
curr = `ruby -e "load 'lib/domain_name/version.rb'; puts DomainName::VERSION"`.chomp
|
|
86
|
+
timestamp = File.mtime(ETLD_DATA_FILE).utc
|
|
77
87
|
sh 'git', 'commit',
|
|
78
88
|
'CHANGELOG.md',
|
|
79
89
|
ETLD_DATA_FILE,
|
data/data/public_suffix_list.dat
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
// Please pull this list from, and only from https://publicsuffix.org/list/public_suffix_list.dat,
|
|
6
6
|
// rather than any other VCS sites. Pulling from any other URL is not guaranteed to be supported.
|
|
7
7
|
|
|
8
|
-
// VERSION: 2026-
|
|
9
|
-
// COMMIT:
|
|
8
|
+
// VERSION: 2026-09-07_20-57-11_UTC
|
|
9
|
+
// COMMIT: 9fc6745c5d3f678a59af9c24de72e5eb3c300e2c
|
|
10
10
|
|
|
11
11
|
// Instructions on pulling and using this list can be found at https://publicsuffix.org/list/.
|
|
12
12
|
|
|
@@ -151,14 +151,14 @@ net.ag
|
|
|
151
151
|
nom.ag
|
|
152
152
|
org.ag
|
|
153
153
|
|
|
154
|
-
// ai :
|
|
154
|
+
// ai : https://www.nic.ai/
|
|
155
155
|
ai
|
|
156
156
|
com.ai
|
|
157
157
|
net.ai
|
|
158
158
|
off.ai
|
|
159
159
|
org.ai
|
|
160
160
|
|
|
161
|
-
// al :
|
|
161
|
+
// al : https://akep.al/en/domain-e-application/ -> "Regulations and Decisions"
|
|
162
162
|
al
|
|
163
163
|
com.al
|
|
164
164
|
edu.al
|
|
@@ -176,8 +176,7 @@ commune.am
|
|
|
176
176
|
net.am
|
|
177
177
|
org.am
|
|
178
178
|
|
|
179
|
-
// ao : https://www.
|
|
180
|
-
// https://www.dns.ao/ao/
|
|
179
|
+
// ao : https://www.dns.ao/ao/
|
|
181
180
|
ao
|
|
182
181
|
co.ao
|
|
183
182
|
ed.ao
|
|
@@ -359,8 +358,7 @@ ac.be
|
|
|
359
358
|
bf
|
|
360
359
|
gov.bf
|
|
361
360
|
|
|
362
|
-
// bg : https://www.
|
|
363
|
-
// https://www.register.bg/user/static/rules/en/index.html
|
|
361
|
+
// bg : https://www.register.bg/ -> "Terms and Conditions"
|
|
364
362
|
bg
|
|
365
363
|
0.bg
|
|
366
364
|
1.bg
|
|
@@ -407,8 +405,7 @@ gov.bh
|
|
|
407
405
|
net.bh
|
|
408
406
|
org.bh
|
|
409
407
|
|
|
410
|
-
// bi :
|
|
411
|
-
// http://whois.nic.bi/
|
|
408
|
+
// bi : http://whois.nic.bi/
|
|
412
409
|
bi
|
|
413
410
|
co.bi
|
|
414
411
|
com.bi
|
|
@@ -460,7 +457,7 @@ net.bn
|
|
|
460
457
|
org.bn
|
|
461
458
|
|
|
462
459
|
// bo : https://nic.bo
|
|
463
|
-
// Confirmed by registry <soporte@nic.bo>
|
|
460
|
+
// Confirmed by registry <soporte@nic.bo> 2026-09-01
|
|
464
461
|
bo
|
|
465
462
|
com.bo
|
|
466
463
|
edu.bo
|
|
@@ -484,6 +481,7 @@ deporte.bo
|
|
|
484
481
|
ecologia.bo
|
|
485
482
|
economia.bo
|
|
486
483
|
empresa.bo
|
|
484
|
+
ia.bo
|
|
487
485
|
indigena.bo
|
|
488
486
|
industria.bo
|
|
489
487
|
info.bo
|
|
@@ -684,7 +682,7 @@ wiki.br
|
|
|
684
682
|
xyz.br
|
|
685
683
|
zlg.br
|
|
686
684
|
|
|
687
|
-
// bs : http://www.
|
|
685
|
+
// bs : http://www.register.bs/rules.html
|
|
688
686
|
bs
|
|
689
687
|
com.bs
|
|
690
688
|
edu.bs
|
|
@@ -704,8 +702,7 @@ org.bt
|
|
|
704
702
|
// Submitted by registry <jarle@uninett.no>
|
|
705
703
|
bv
|
|
706
704
|
|
|
707
|
-
// bw : https://
|
|
708
|
-
// https://nic.net.bw/bw-name-structure
|
|
705
|
+
// bw : https://nic.net.bw/bw-name-structure
|
|
709
706
|
bw
|
|
710
707
|
ac.bw
|
|
711
708
|
co.bw
|
|
@@ -726,8 +723,7 @@ com.by
|
|
|
726
723
|
// http://hoster.by/
|
|
727
724
|
of.by
|
|
728
725
|
|
|
729
|
-
// bz :
|
|
730
|
-
// http://www.belizenic.bz/
|
|
726
|
+
// bz : http://www.belizenic.bz/
|
|
731
727
|
bz
|
|
732
728
|
co.bz
|
|
733
729
|
com.bz
|
|
@@ -763,8 +759,7 @@ cat
|
|
|
763
759
|
// cc : https://www.iana.org/domains/root/db/cc.html
|
|
764
760
|
cc
|
|
765
761
|
|
|
766
|
-
// cd : https://www.
|
|
767
|
-
// https://www.nic.cd
|
|
762
|
+
// cd : https://www.nic.cd
|
|
768
763
|
cd
|
|
769
764
|
gov.cd
|
|
770
765
|
|
|
@@ -1067,8 +1062,7 @@ org.ee
|
|
|
1067
1062
|
pri.ee
|
|
1068
1063
|
riik.ee
|
|
1069
1064
|
|
|
1070
|
-
// eg : https://
|
|
1071
|
-
// https://domain.eg/en/domain-rules/subdomain-names-types/
|
|
1065
|
+
// eg : https://domain.eg/subdomain-names
|
|
1072
1066
|
eg
|
|
1073
1067
|
ac.eg
|
|
1074
1068
|
com.eg
|
|
@@ -1210,7 +1204,7 @@ mil.gh
|
|
|
1210
1204
|
net.gh
|
|
1211
1205
|
org.gh
|
|
1212
1206
|
|
|
1213
|
-
// gi :
|
|
1207
|
+
// gi : https://www.nic.gi/rules.html
|
|
1214
1208
|
gi
|
|
1215
1209
|
com.gi
|
|
1216
1210
|
edu.gi
|
|
@@ -1219,8 +1213,7 @@ ltd.gi
|
|
|
1219
1213
|
mod.gi
|
|
1220
1214
|
org.gi
|
|
1221
1215
|
|
|
1222
|
-
// gl :
|
|
1223
|
-
// http://nic.gl
|
|
1216
|
+
// gl : http://nic.gl
|
|
1224
1217
|
gl
|
|
1225
1218
|
co.gl
|
|
1226
1219
|
com.gl
|
|
@@ -1228,7 +1221,7 @@ edu.gl
|
|
|
1228
1221
|
net.gl
|
|
1229
1222
|
org.gl
|
|
1230
1223
|
|
|
1231
|
-
// gm :
|
|
1224
|
+
// gm : https://www.nic.gm/NIC2/policies.html
|
|
1232
1225
|
gm
|
|
1233
1226
|
|
|
1234
1227
|
// gn : http://psg.com/dns/gn/gn.txt
|
|
@@ -1278,7 +1271,7 @@ mil.gt
|
|
|
1278
1271
|
net.gt
|
|
1279
1272
|
org.gt
|
|
1280
1273
|
|
|
1281
|
-
// gu :
|
|
1274
|
+
// gu : https://give.uog.edu/gu-domain-application-form/
|
|
1282
1275
|
// University of Guam : https://www.uog.edu
|
|
1283
1276
|
// Submitted by uognoc@triton.uog.edu
|
|
1284
1277
|
gu
|
|
@@ -1295,8 +1288,7 @@ web.gu
|
|
|
1295
1288
|
// gw : https://nic.gw/regras/
|
|
1296
1289
|
gw
|
|
1297
1290
|
|
|
1298
|
-
// gy :
|
|
1299
|
-
// http://registry.gy/
|
|
1291
|
+
// gy : http://registry.gy/
|
|
1300
1292
|
gy
|
|
1301
1293
|
co.gy
|
|
1302
1294
|
com.gy
|
|
@@ -1342,9 +1334,10 @@ mil.hn
|
|
|
1342
1334
|
net.hn
|
|
1343
1335
|
org.hn
|
|
1344
1336
|
|
|
1345
|
-
// hr :
|
|
1337
|
+
// hr : https://domene.hr/en/portal/faq
|
|
1346
1338
|
hr
|
|
1347
1339
|
com.hr
|
|
1340
|
+
// From.hr domene : http://from.hr/
|
|
1348
1341
|
from.hr
|
|
1349
1342
|
iz.hr
|
|
1350
1343
|
name.hr
|
|
@@ -1537,7 +1530,7 @@ net.io
|
|
|
1537
1530
|
nom.io
|
|
1538
1531
|
org.io
|
|
1539
1532
|
|
|
1540
|
-
// iq :
|
|
1533
|
+
// iq : https://cmc.iq/
|
|
1541
1534
|
iq
|
|
1542
1535
|
com.iq
|
|
1543
1536
|
edu.iq
|
|
@@ -1566,8 +1559,7 @@ sch.ir
|
|
|
1566
1559
|
// Confirmed by registry <marius@isgate.is> 2024-11-17
|
|
1567
1560
|
is
|
|
1568
1561
|
|
|
1569
|
-
// it : https://www.
|
|
1570
|
-
// https://www.nic.it/
|
|
1562
|
+
// it : https://www.nic.it/
|
|
1571
1563
|
it
|
|
1572
1564
|
edu.it
|
|
1573
1565
|
gov.it
|
|
@@ -1987,7 +1979,7 @@ co.je
|
|
|
1987
1979
|
net.je
|
|
1988
1980
|
org.je
|
|
1989
1981
|
|
|
1990
|
-
// jm :
|
|
1982
|
+
// jm : https://www.iana.org/domains/root/db/jm.html
|
|
1991
1983
|
*.jm
|
|
1992
1984
|
|
|
1993
1985
|
// jo : https://www.dns.jo/JoFamily.aspx
|
|
@@ -3854,8 +3846,7 @@ info.ki
|
|
|
3854
3846
|
net.ki
|
|
3855
3847
|
org.ki
|
|
3856
3848
|
|
|
3857
|
-
// km : https://www.
|
|
3858
|
-
// http://www.domaine.km/documents/charte.doc
|
|
3849
|
+
// km : https://www.domaine.km/
|
|
3859
3850
|
km
|
|
3860
3851
|
ass.km
|
|
3861
3852
|
com.km
|
|
@@ -3867,7 +3858,7 @@ org.km
|
|
|
3867
3858
|
prd.km
|
|
3868
3859
|
tm.km
|
|
3869
3860
|
// These are only mentioned as proposed suggestions at domaine.km, but
|
|
3870
|
-
// https://
|
|
3861
|
+
// https://en.wikipedia.org/wiki/.km says they're available for registration:
|
|
3871
3862
|
asso.km
|
|
3872
3863
|
coop.km
|
|
3873
3864
|
gouv.km
|
|
@@ -3877,15 +3868,14 @@ pharmaciens.km
|
|
|
3877
3868
|
presse.km
|
|
3878
3869
|
veterinaire.km
|
|
3879
3870
|
|
|
3880
|
-
// kn : https://
|
|
3881
|
-
// http://www.dot.kn/domainRules.html
|
|
3871
|
+
// kn : https://nic.kn/
|
|
3882
3872
|
kn
|
|
3883
3873
|
edu.kn
|
|
3884
3874
|
gov.kn
|
|
3885
3875
|
net.kn
|
|
3886
3876
|
org.kn
|
|
3887
3877
|
|
|
3888
|
-
// kp : http://www.
|
|
3878
|
+
// kp : http://www.star.co.kp/
|
|
3889
3879
|
kp
|
|
3890
3880
|
com.kp
|
|
3891
3881
|
edu.kp
|
|
@@ -3943,8 +3933,7 @@ ind.kw
|
|
|
3943
3933
|
net.kw
|
|
3944
3934
|
org.kw
|
|
3945
3935
|
|
|
3946
|
-
// ky :
|
|
3947
|
-
// Confirmed by registry <kysupport@perimeterusa.com> 2008-06-17
|
|
3936
|
+
// ky : https://www.ofreg.ky/ict/kydomain-introduction
|
|
3948
3937
|
ky
|
|
3949
3938
|
com.ky
|
|
3950
3939
|
edu.ky
|
|
@@ -4035,9 +4024,8 @@ net.ls
|
|
|
4035
4024
|
org.ls
|
|
4036
4025
|
sc.ls
|
|
4037
4026
|
|
|
4038
|
-
// lt : https://www.
|
|
4027
|
+
// lt : https://www.domreg.lt/
|
|
4039
4028
|
lt
|
|
4040
|
-
// gov.lt : http://www.gov.lt/index_en.php
|
|
4041
4029
|
gov.lt
|
|
4042
4030
|
|
|
4043
4031
|
// lu : http://www.dns.lu/en/
|
|
@@ -4067,8 +4055,7 @@ org.ly
|
|
|
4067
4055
|
plc.ly
|
|
4068
4056
|
sch.ly
|
|
4069
4057
|
|
|
4070
|
-
// ma :
|
|
4071
|
-
// http://www.anrt.ma/fr/admin/download/upload/file_fr782.pdf
|
|
4058
|
+
// ma : http://www.anrt.ma/fr/admin/download/upload/file_fr782.pdf
|
|
4072
4059
|
ma
|
|
4073
4060
|
ac.ma
|
|
4074
4061
|
co.ma
|
|
@@ -4113,8 +4100,7 @@ mh
|
|
|
4113
4100
|
// mil : https://www.iana.org/domains/root/db/mil.html
|
|
4114
4101
|
mil
|
|
4115
4102
|
|
|
4116
|
-
// mk : https://
|
|
4117
|
-
// see also: http://dns.marnet.net.mk/postapka.php
|
|
4103
|
+
// mk : https://marnet.mk/ -> "ПРАВИЛНИК"
|
|
4118
4104
|
mk
|
|
4119
4105
|
com.mk
|
|
4120
4106
|
edu.mk
|
|
@@ -4150,7 +4136,7 @@ edu.mn
|
|
|
4150
4136
|
gov.mn
|
|
4151
4137
|
org.mn
|
|
4152
4138
|
|
|
4153
|
-
// mo :
|
|
4139
|
+
// mo : https://www.monic.mo/
|
|
4154
4140
|
mo
|
|
4155
4141
|
com.mo
|
|
4156
4142
|
edu.mo
|
|
@@ -4161,8 +4147,7 @@ org.mo
|
|
|
4161
4147
|
// mobi : https://www.iana.org/domains/root/db/mobi.html
|
|
4162
4148
|
mobi
|
|
4163
4149
|
|
|
4164
|
-
// mp : http://
|
|
4165
|
-
// Confirmed by registry <dcamacho@saipan.com> 2008-06-17
|
|
4150
|
+
// mp : http://get.mp/
|
|
4166
4151
|
mp
|
|
4167
4152
|
|
|
4168
4153
|
// mq : https://www.iana.org/domains/root/db/mq.html
|
|
@@ -4302,7 +4287,7 @@ rec.nf
|
|
|
4302
4287
|
store.nf
|
|
4303
4288
|
web.nf
|
|
4304
4289
|
|
|
4305
|
-
// ng :
|
|
4290
|
+
// ng : https://www.nira.org.ng/
|
|
4306
4291
|
ng
|
|
4307
4292
|
com.ng
|
|
4308
4293
|
edu.ng
|
|
@@ -4315,7 +4300,7 @@ net.ng
|
|
|
4315
4300
|
org.ng
|
|
4316
4301
|
sch.ng
|
|
4317
4302
|
|
|
4318
|
-
// ni :
|
|
4303
|
+
// ni : https://www.nic.ni/
|
|
4319
4304
|
ni
|
|
4320
4305
|
ac.ni
|
|
4321
4306
|
biz.ni
|
|
@@ -4332,8 +4317,7 @@ nom.ni
|
|
|
4332
4317
|
org.ni
|
|
4333
4318
|
web.ni
|
|
4334
4319
|
|
|
4335
|
-
// nl : https://www.
|
|
4336
|
-
// https://www.sidn.nl/
|
|
4320
|
+
// nl : https://www.sidn.nl/
|
|
4337
4321
|
nl
|
|
4338
4322
|
|
|
4339
4323
|
// no : https://www.norid.no/en/om-domenenavn/regelverk-for-no/
|
|
@@ -5107,7 +5091,7 @@ voagat.no
|
|
|
5107
5091
|
volda.no
|
|
5108
5092
|
voss.no
|
|
5109
5093
|
|
|
5110
|
-
// np :
|
|
5094
|
+
// np : https://www.mos.com.np/
|
|
5111
5095
|
*.np
|
|
5112
5096
|
|
|
5113
5097
|
// nr : http://cenpac.net.nr/dns/index.html
|
|
@@ -5178,7 +5162,7 @@ nom.pa
|
|
|
5178
5162
|
org.pa
|
|
5179
5163
|
sld.pa
|
|
5180
5164
|
|
|
5181
|
-
// pe : https://
|
|
5165
|
+
// pe : https://punto.pe/policy.php
|
|
5182
5166
|
pe
|
|
5183
5167
|
com.pe
|
|
5184
5168
|
edu.pe
|
|
@@ -5188,7 +5172,7 @@ net.pe
|
|
|
5188
5172
|
nom.pe
|
|
5189
5173
|
org.pe
|
|
5190
5174
|
|
|
5191
|
-
// pf :
|
|
5175
|
+
// pf : https://www.iana.org/domains/root/db/pf.html
|
|
5192
5176
|
pf
|
|
5193
5177
|
com.pf
|
|
5194
5178
|
edu.pf
|
|
@@ -5209,7 +5193,7 @@ net.ph
|
|
|
5209
5193
|
ngo.ph
|
|
5210
5194
|
org.ph
|
|
5211
5195
|
|
|
5212
|
-
// pk : https://
|
|
5196
|
+
// pk : https://www.pknic.net.pk/domain-structure.html
|
|
5213
5197
|
// Contact Email: staff@pknic.net.pk
|
|
5214
5198
|
pk
|
|
5215
5199
|
ac.pk
|
|
@@ -5458,11 +5442,13 @@ org.pn
|
|
|
5458
5442
|
// post : https://www.iana.org/domains/root/db/post.html
|
|
5459
5443
|
post
|
|
5460
5444
|
|
|
5461
|
-
// pr :
|
|
5445
|
+
// pr : https://www.domains.pr/
|
|
5462
5446
|
pr
|
|
5447
|
+
ac.pr
|
|
5463
5448
|
biz.pr
|
|
5464
5449
|
com.pr
|
|
5465
5450
|
edu.pr
|
|
5451
|
+
est.pr
|
|
5466
5452
|
gov.pr
|
|
5467
5453
|
info.pr
|
|
5468
5454
|
isla.pr
|
|
@@ -5470,9 +5456,6 @@ name.pr
|
|
|
5470
5456
|
net.pr
|
|
5471
5457
|
org.pr
|
|
5472
5458
|
pro.pr
|
|
5473
|
-
// these aren't mentioned on nic.pr, but on https://www.iana.org/domains/root/db/pr.html
|
|
5474
|
-
ac.pr
|
|
5475
|
-
est.pr
|
|
5476
5459
|
prof.pr
|
|
5477
5460
|
|
|
5478
5461
|
// pro : http://registry.pro/get-pro
|
|
@@ -5489,8 +5472,7 @@ law.pro
|
|
|
5489
5472
|
med.pro
|
|
5490
5473
|
recht.pro
|
|
5491
5474
|
|
|
5492
|
-
// ps : https://www.
|
|
5493
|
-
// http://www.nic.ps/registration/policy.html#reg
|
|
5475
|
+
// ps : https://www.pnina.ps/registration-policy/
|
|
5494
5476
|
ps
|
|
5495
5477
|
com.ps
|
|
5496
5478
|
edu.ps
|
|
@@ -5593,8 +5575,7 @@ org.sa
|
|
|
5593
5575
|
pub.sa
|
|
5594
5576
|
sch.sa
|
|
5595
5577
|
|
|
5596
|
-
// sb : http://www.
|
|
5597
|
-
// Submitted by registry <lee.humphries@telekom.com.sb>
|
|
5578
|
+
// sb : http://www.nic.net.sb/
|
|
5598
5579
|
sb
|
|
5599
5580
|
com.sb
|
|
5600
5581
|
edu.sb
|
|
@@ -5602,7 +5583,7 @@ gov.sb
|
|
|
5602
5583
|
net.sb
|
|
5603
5584
|
org.sb
|
|
5604
5585
|
|
|
5605
|
-
// sc :
|
|
5586
|
+
// sc : https://www.nic.sc/en/policies.html
|
|
5606
5587
|
sc
|
|
5607
5588
|
com.sc
|
|
5608
5589
|
edu.sc
|
|
@@ -5690,8 +5671,7 @@ si
|
|
|
5690
5671
|
// Submitted by registry <jarle@uninett.no>
|
|
5691
5672
|
sj
|
|
5692
5673
|
|
|
5693
|
-
// sk : https://
|
|
5694
|
-
// https://sk-nic.sk/
|
|
5674
|
+
// sk : https://sk-nic.sk/
|
|
5695
5675
|
sk
|
|
5696
5676
|
org.sk
|
|
5697
5677
|
|
|
@@ -5716,7 +5696,7 @@ gouv.sn
|
|
|
5716
5696
|
org.sn
|
|
5717
5697
|
univ.sn
|
|
5718
5698
|
|
|
5719
|
-
// so :
|
|
5699
|
+
// so : https://sonic.so/policies/
|
|
5720
5700
|
so
|
|
5721
5701
|
com.so
|
|
5722
5702
|
edu.so
|
|
@@ -5780,8 +5760,7 @@ mil.sy
|
|
|
5780
5760
|
net.sy
|
|
5781
5761
|
org.sy
|
|
5782
5762
|
|
|
5783
|
-
// sz :
|
|
5784
|
-
// http://www.sispa.org.sz/
|
|
5763
|
+
// sz : http://www.sispa.org.sz/
|
|
5785
5764
|
sz
|
|
5786
5765
|
ac.sz
|
|
5787
5766
|
co.sz
|
|
@@ -5793,15 +5772,13 @@ tc
|
|
|
5793
5772
|
// td : https://www.iana.org/domains/root/db/td.html
|
|
5794
5773
|
td
|
|
5795
5774
|
|
|
5796
|
-
// tel :
|
|
5797
|
-
// http://www.telnic.org/
|
|
5775
|
+
// tel : http://www.telnic.org/
|
|
5798
5776
|
tel
|
|
5799
5777
|
|
|
5800
5778
|
// tf : https://www.afnic.fr/wp-media/uploads/2022/12/afnic-naming-policy-2023-01-01.pdf
|
|
5801
5779
|
tf
|
|
5802
5780
|
|
|
5803
|
-
// tg :
|
|
5804
|
-
// http://www.nic.tg/
|
|
5781
|
+
// tg : http://www.nic.tg/
|
|
5805
5782
|
tg
|
|
5806
5783
|
|
|
5807
5784
|
// th : https://www.iana.org/domains/root/db/th.html
|
|
@@ -5943,8 +5920,7 @@ mil.tw
|
|
|
5943
5920
|
net.tw
|
|
5944
5921
|
org.tw
|
|
5945
5922
|
|
|
5946
|
-
// tz :
|
|
5947
|
-
// Submitted by registry <manager@tznic.or.tz>
|
|
5923
|
+
// tz : https://karibu.tz/regulations
|
|
5948
5924
|
tz
|
|
5949
5925
|
ac.tz
|
|
5950
5926
|
co.tz
|
|
@@ -6352,7 +6328,7 @@ mil.vc
|
|
|
6352
6328
|
net.vc
|
|
6353
6329
|
org.vc
|
|
6354
6330
|
|
|
6355
|
-
// ve : https://
|
|
6331
|
+
// ve : https://nic.ve/
|
|
6356
6332
|
// https://nic.ve/site/user-agreement -> under "III. Clasificación de Nombres de Dominio"
|
|
6357
6333
|
// Submitted by registry nic@nic.ve and nicve@conatel.gob.ve
|
|
6358
6334
|
ve
|
|
@@ -6392,8 +6368,7 @@ k12.vi
|
|
|
6392
6368
|
net.vi
|
|
6393
6369
|
org.vi
|
|
6394
6370
|
|
|
6395
|
-
// vn : https://
|
|
6396
|
-
// https://vnnic.vn/sites/default/files/tailieu/vn.cctld.domains.txt
|
|
6371
|
+
// vn : https://vnnic.vn/en/domain-name-vn/domain-name/cctldvn
|
|
6397
6372
|
vn
|
|
6398
6373
|
ac.vn
|
|
6399
6374
|
ai.vn
|
|
@@ -6508,7 +6483,7 @@ yt
|
|
|
6508
6483
|
// U-Label
|
|
6509
6484
|
|
|
6510
6485
|
// xn--mgbaam7a8h ("Emerat", Arabic) : AE
|
|
6511
|
-
// http://
|
|
6486
|
+
// http://aeda.ae/
|
|
6512
6487
|
امارات
|
|
6513
6488
|
|
|
6514
6489
|
// xn--y9a3aq ("hye", Armenian) : AM
|
|
@@ -6660,11 +6635,11 @@ yt
|
|
|
6660
6635
|
ລາວ
|
|
6661
6636
|
|
|
6662
6637
|
// xn--fzc2c9e2c ("Lanka", Sinhalese-Sinhala) : LK
|
|
6663
|
-
//
|
|
6638
|
+
// http://www.domains.lk/
|
|
6664
6639
|
ලංකා
|
|
6665
6640
|
|
|
6666
6641
|
// xn--xkc2al3hye2a ("Ilangai", Tamil) : LK
|
|
6667
|
-
//
|
|
6642
|
+
// http://www.domains.lk/
|
|
6668
6643
|
இலங்கை
|
|
6669
6644
|
|
|
6670
6645
|
// xn--mgbc0a9azcg ("Morocco/al-Maghrib", Arabic) : MA
|
|
@@ -6717,7 +6692,7 @@ yt
|
|
|
6717
6692
|
рф
|
|
6718
6693
|
|
|
6719
6694
|
// xn--wgbl6a ("Qatar", Arabic) : QA
|
|
6720
|
-
//
|
|
6695
|
+
// https://www.cra.gov.qa/
|
|
6721
6696
|
قطر
|
|
6722
6697
|
|
|
6723
6698
|
// xn--mgberp4a5d4ar ("AlSaudiah", Arabic) : SA
|
|
@@ -6780,10 +6755,10 @@ yt
|
|
|
6780
6755
|
// xn--mgb2ddes ("AlYemen", Arabic) : YE
|
|
6781
6756
|
اليمن
|
|
6782
6757
|
|
|
6783
|
-
// xxx :
|
|
6758
|
+
// xxx : https://icmregistry.biz/
|
|
6784
6759
|
xxx
|
|
6785
6760
|
|
|
6786
|
-
// ye :
|
|
6761
|
+
// ye : https://www.iana.org/domains/root/db/ye.html
|
|
6787
6762
|
ye
|
|
6788
6763
|
com.ye
|
|
6789
6764
|
edu.ye
|
|
@@ -6813,7 +6788,6 @@ tm.za
|
|
|
6813
6788
|
web.za
|
|
6814
6789
|
|
|
6815
6790
|
// zm : https://zicta.zm/
|
|
6816
|
-
// Submitted by registry <info@zicta.zm>
|
|
6817
6791
|
zm
|
|
6818
6792
|
ac.zm
|
|
6819
6793
|
biz.zm
|
|
@@ -12586,6 +12560,7 @@ cafjs.com
|
|
|
12586
12560
|
// Canva Pty Ltd : https://canva.com/
|
|
12587
12561
|
// Submitted by Joel Aquilina <publicsuffixlist@canva.com>
|
|
12588
12562
|
canva-apps.cn
|
|
12563
|
+
canva-code.cn
|
|
12589
12564
|
my.canvasite.cn
|
|
12590
12565
|
khsj.cn
|
|
12591
12566
|
canva-apps.com
|
|
@@ -12945,6 +12920,7 @@ icp0.io
|
|
|
12945
12920
|
*.raw.icp0.io
|
|
12946
12921
|
icp1.io
|
|
12947
12922
|
*.raw.icp1.io
|
|
12923
|
+
opencloud.me
|
|
12948
12924
|
*.icp.net
|
|
12949
12925
|
caffeine.site
|
|
12950
12926
|
caffeine.xyz
|
|
@@ -14307,8 +14283,6 @@ ryd.wafaicloud.com
|
|
|
14307
14283
|
j.scaleforce.com.cy
|
|
14308
14284
|
jelastic.dogado.eu
|
|
14309
14285
|
fi.cloudplatform.fi
|
|
14310
|
-
demo.datacenter.fi
|
|
14311
|
-
paas.datacenter.fi
|
|
14312
14286
|
jele.host
|
|
14313
14287
|
mircloud.host
|
|
14314
14288
|
paas.beebyte.io
|
|
@@ -14452,6 +14426,11 @@ laravel.cloud
|
|
|
14452
14426
|
on-forge.com
|
|
14453
14427
|
on-vapor.com
|
|
14454
14428
|
|
|
14429
|
+
// Last Mile Labs, Inc : https://eth.limo
|
|
14430
|
+
// Submitted by eth.limo team <security@eth.limo>
|
|
14431
|
+
*.eth.limo
|
|
14432
|
+
*.eth.link
|
|
14433
|
+
|
|
14455
14434
|
// LCube - Professional hosting e.K. : https://www.lcube-webhosting.de
|
|
14456
14435
|
// Submitted by Lars Laehn <info@lcube.de>
|
|
14457
14436
|
git-repos.de
|
|
@@ -14705,6 +14684,78 @@ eastus2.azurestaticapps.net
|
|
|
14705
14684
|
westeurope.azurestaticapps.net
|
|
14706
14685
|
westus2.azurestaticapps.net
|
|
14707
14686
|
azurewebsites.net
|
|
14687
|
+
australiacentral-01.azurewebsites.net
|
|
14688
|
+
australiacentral2-01.azurewebsites.net
|
|
14689
|
+
australiaeast-01.azurewebsites.net
|
|
14690
|
+
australiasoutheast-01.azurewebsites.net
|
|
14691
|
+
austriaeast-01.azurewebsites.net
|
|
14692
|
+
belgiumcentral-01.azurewebsites.net
|
|
14693
|
+
brazilsouth-01.azurewebsites.net
|
|
14694
|
+
brazilsoutheast-01.azurewebsites.net
|
|
14695
|
+
canadacentral-01.azurewebsites.net
|
|
14696
|
+
canadaeast-01.azurewebsites.net
|
|
14697
|
+
centralindia-01.azurewebsites.net
|
|
14698
|
+
centralus-01.azurewebsites.net
|
|
14699
|
+
centraluseuap-01.azurewebsites.net
|
|
14700
|
+
chilecentral-01.azurewebsites.net
|
|
14701
|
+
denmarkeast-01.azurewebsites.net
|
|
14702
|
+
eastasia-01.azurewebsites.net
|
|
14703
|
+
eastasiastage-01.azurewebsites.net
|
|
14704
|
+
eastus-01.azurewebsites.net
|
|
14705
|
+
eastus2-01.azurewebsites.net
|
|
14706
|
+
eastus2euap-01.azurewebsites.net
|
|
14707
|
+
eastus3-01.azurewebsites.net
|
|
14708
|
+
francecentral-01.azurewebsites.net
|
|
14709
|
+
francesouth-01.azurewebsites.net
|
|
14710
|
+
germanynorth-01.azurewebsites.net
|
|
14711
|
+
germanywestcentral-01.azurewebsites.net
|
|
14712
|
+
indiasouthcentral-01.azurewebsites.net
|
|
14713
|
+
indonesiacentral-01.azurewebsites.net
|
|
14714
|
+
israelcentral-01.azurewebsites.net
|
|
14715
|
+
israelnorthwest-01.azurewebsites.net
|
|
14716
|
+
italynorth-01.azurewebsites.net
|
|
14717
|
+
japaneast-01.azurewebsites.net
|
|
14718
|
+
japanwest-01.azurewebsites.net
|
|
14719
|
+
jioindiacentral-01.azurewebsites.net
|
|
14720
|
+
jioindiawest-01.azurewebsites.net
|
|
14721
|
+
koreacentral-01.azurewebsites.net
|
|
14722
|
+
koreasouth-01.azurewebsites.net
|
|
14723
|
+
malaysiawest-01.azurewebsites.net
|
|
14724
|
+
mexicocentral-01.azurewebsites.net
|
|
14725
|
+
newzealandnorth-01.azurewebsites.net
|
|
14726
|
+
northcentralus-01.azurewebsites.net
|
|
14727
|
+
northcentralusstage-01.azurewebsites.net
|
|
14728
|
+
northeastus5-01.azurewebsites.net
|
|
14729
|
+
northeurope-01.azurewebsites.net
|
|
14730
|
+
norwayeast-01.azurewebsites.net
|
|
14731
|
+
norwaywest-01.azurewebsites.net
|
|
14732
|
+
*.p.azurewebsites.net
|
|
14733
|
+
polandcentral-01.azurewebsites.net
|
|
14734
|
+
qatarcentral-01.azurewebsites.net
|
|
14735
|
+
southafricanorth-01.azurewebsites.net
|
|
14736
|
+
southafricawest-01.azurewebsites.net
|
|
14737
|
+
southcentralus-01.azurewebsites.net
|
|
14738
|
+
southcentralus2-01.azurewebsites.net
|
|
14739
|
+
southeastasia-01.azurewebsites.net
|
|
14740
|
+
southeastus5-01.azurewebsites.net
|
|
14741
|
+
southindia-01.azurewebsites.net
|
|
14742
|
+
spaincentral-01.azurewebsites.net
|
|
14743
|
+
swedencentral-01.azurewebsites.net
|
|
14744
|
+
swedensouth-01.azurewebsites.net
|
|
14745
|
+
switzerlandnorth-01.azurewebsites.net
|
|
14746
|
+
switzerlandwest-01.azurewebsites.net
|
|
14747
|
+
taiwannorth-01.azurewebsites.net
|
|
14748
|
+
taiwannorthwest-01.azurewebsites.net
|
|
14749
|
+
uaecentral-01.azurewebsites.net
|
|
14750
|
+
uaenorth-01.azurewebsites.net
|
|
14751
|
+
uksouth-01.azurewebsites.net
|
|
14752
|
+
ukwest-01.azurewebsites.net
|
|
14753
|
+
westcentralus-01.azurewebsites.net
|
|
14754
|
+
westeurope-01.azurewebsites.net
|
|
14755
|
+
westindia-01.azurewebsites.net
|
|
14756
|
+
westus-01.azurewebsites.net
|
|
14757
|
+
westus2-01.azurewebsites.net
|
|
14758
|
+
westus3-01.azurewebsites.net
|
|
14708
14759
|
cloudapp.net
|
|
14709
14760
|
trafficmanager.net
|
|
14710
14761
|
blob.core.usgovcloudapi.net
|
|
@@ -15468,6 +15519,11 @@ subsc-pay.net
|
|
|
15468
15519
|
// Submitted by Jennifer Herting <jchits@rit.edu>
|
|
15469
15520
|
git-pages.rit.edu
|
|
15470
15521
|
|
|
15522
|
+
// Rocket : https://rocket.new
|
|
15523
|
+
// Submitted by Rahul Shingala <support@rocket.new>
|
|
15524
|
+
rocketpreview.app
|
|
15525
|
+
*.builtwithrocket.new
|
|
15526
|
+
|
|
15471
15527
|
// Rocky Enterprise Software Foundation : https://resf.org
|
|
15472
15528
|
// Submitted by Neil Hanlon <neil@resf.org>
|
|
15473
15529
|
rocky.page
|
|
@@ -16183,11 +16239,12 @@ val.run
|
|
|
16183
16239
|
web.val.run
|
|
16184
16240
|
|
|
16185
16241
|
// Vercel, Inc : https://vercel.com/
|
|
16186
|
-
// Submitted by
|
|
16242
|
+
// Submitted by Thibault Miranda de Oliveira <security@vercel.com>
|
|
16187
16243
|
vercel.app
|
|
16188
16244
|
v0.build
|
|
16189
16245
|
vercel.dev
|
|
16190
16246
|
vusercontent.net
|
|
16247
|
+
tmp.now
|
|
16191
16248
|
vercel.run
|
|
16192
16249
|
now.sh
|
|
16193
16250
|
|
|
@@ -16346,12 +16403,6 @@ grok.me
|
|
|
16346
16403
|
*.xenonconnect.de
|
|
16347
16404
|
half.host
|
|
16348
16405
|
|
|
16349
|
-
// XnBay Technology : http://www.xnbay.com/
|
|
16350
|
-
// Submitted by XnBay Developer <developer.xncloud@gmail.com>
|
|
16351
|
-
xnbay.com
|
|
16352
|
-
u2.xnbay.com
|
|
16353
|
-
u2-local.xnbay.com
|
|
16354
|
-
|
|
16355
16406
|
// XS4ALL Internet bv : https://www.xs4all.nl/
|
|
16356
16407
|
// Submitted by Daniel Mostertman <unixbeheer+publicsuffix@xs4all.net>
|
|
16357
16408
|
cistron.nl
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
class DomainName
|
|
4
|
-
ETLD_DATA_DATE = '2026-
|
|
4
|
+
ETLD_DATA_DATE = '2026-09-07T20:57:24Z'
|
|
5
5
|
|
|
6
6
|
ETLD_DATA = {
|
|
7
7
|
"ac" => 0,
|
|
@@ -374,6 +374,7 @@ class DomainName
|
|
|
374
374
|
"ecologia.bo" => 0,
|
|
375
375
|
"economia.bo" => 0,
|
|
376
376
|
"empresa.bo" => 0,
|
|
377
|
+
"ia.bo" => 0,
|
|
377
378
|
"indigena.bo" => 0,
|
|
378
379
|
"industria.bo" => 0,
|
|
379
380
|
"info.bo" => 0,
|
|
@@ -4877,9 +4878,11 @@ class DomainName
|
|
|
4877
4878
|
"org.pn" => 0,
|
|
4878
4879
|
"post" => 0,
|
|
4879
4880
|
"pr" => 0,
|
|
4881
|
+
"ac.pr" => 0,
|
|
4880
4882
|
"biz.pr" => 0,
|
|
4881
4883
|
"com.pr" => 0,
|
|
4882
4884
|
"edu.pr" => 0,
|
|
4885
|
+
"est.pr" => 0,
|
|
4883
4886
|
"gov.pr" => 0,
|
|
4884
4887
|
"info.pr" => 0,
|
|
4885
4888
|
"isla.pr" => 0,
|
|
@@ -4887,8 +4890,6 @@ class DomainName
|
|
|
4887
4890
|
"net.pr" => 0,
|
|
4888
4891
|
"org.pr" => 0,
|
|
4889
4892
|
"pro.pr" => 0,
|
|
4890
|
-
"ac.pr" => 0,
|
|
4891
|
-
"est.pr" => 0,
|
|
4892
4893
|
"prof.pr" => 0,
|
|
4893
4894
|
"pro" => 0,
|
|
4894
4895
|
"aaa.pro" => 0,
|
|
@@ -7960,6 +7961,7 @@ class DomainName
|
|
|
7960
7961
|
"bwcloud-os-instance.de" => -1,
|
|
7961
7962
|
"cafjs.com" => 0,
|
|
7962
7963
|
"canva-apps.cn" => 0,
|
|
7964
|
+
"canva-code.cn" => 0,
|
|
7963
7965
|
"my.canvasite.cn" => 0,
|
|
7964
7966
|
"khsj.cn" => 0,
|
|
7965
7967
|
"canva-apps.com" => 0,
|
|
@@ -8165,6 +8167,7 @@ class DomainName
|
|
|
8165
8167
|
"raw.icp0.io" => -1,
|
|
8166
8168
|
"icp1.io" => 0,
|
|
8167
8169
|
"raw.icp1.io" => -1,
|
|
8170
|
+
"opencloud.me" => 0,
|
|
8168
8171
|
"icp.net" => -1,
|
|
8169
8172
|
"caffeine.site" => 0,
|
|
8170
8173
|
"caffeine.xyz" => 0,
|
|
@@ -9117,8 +9120,6 @@ class DomainName
|
|
|
9117
9120
|
"j.scaleforce.com.cy" => 0,
|
|
9118
9121
|
"jelastic.dogado.eu" => 0,
|
|
9119
9122
|
"fi.cloudplatform.fi" => 0,
|
|
9120
|
-
"demo.datacenter.fi" => 0,
|
|
9121
|
-
"paas.datacenter.fi" => 0,
|
|
9122
9123
|
"jele.host" => 0,
|
|
9123
9124
|
"mircloud.host" => 0,
|
|
9124
9125
|
"paas.beebyte.io" => 0,
|
|
@@ -9200,6 +9201,8 @@ class DomainName
|
|
|
9200
9201
|
"laravel.cloud" => 0,
|
|
9201
9202
|
"on-forge.com" => 0,
|
|
9202
9203
|
"on-vapor.com" => 0,
|
|
9204
|
+
"eth.limo" => -1,
|
|
9205
|
+
"eth.link" => -1,
|
|
9203
9206
|
"git-repos.de" => 0,
|
|
9204
9207
|
"lcube-server.de" => 0,
|
|
9205
9208
|
"svn-repos.de" => 0,
|
|
@@ -9339,6 +9342,78 @@ class DomainName
|
|
|
9339
9342
|
"westeurope.azurestaticapps.net" => 0,
|
|
9340
9343
|
"westus2.azurestaticapps.net" => 0,
|
|
9341
9344
|
"azurewebsites.net" => 0,
|
|
9345
|
+
"australiacentral-01.azurewebsites.net" => 0,
|
|
9346
|
+
"australiacentral2-01.azurewebsites.net" => 0,
|
|
9347
|
+
"australiaeast-01.azurewebsites.net" => 0,
|
|
9348
|
+
"australiasoutheast-01.azurewebsites.net" => 0,
|
|
9349
|
+
"austriaeast-01.azurewebsites.net" => 0,
|
|
9350
|
+
"belgiumcentral-01.azurewebsites.net" => 0,
|
|
9351
|
+
"brazilsouth-01.azurewebsites.net" => 0,
|
|
9352
|
+
"brazilsoutheast-01.azurewebsites.net" => 0,
|
|
9353
|
+
"canadacentral-01.azurewebsites.net" => 0,
|
|
9354
|
+
"canadaeast-01.azurewebsites.net" => 0,
|
|
9355
|
+
"centralindia-01.azurewebsites.net" => 0,
|
|
9356
|
+
"centralus-01.azurewebsites.net" => 0,
|
|
9357
|
+
"centraluseuap-01.azurewebsites.net" => 0,
|
|
9358
|
+
"chilecentral-01.azurewebsites.net" => 0,
|
|
9359
|
+
"denmarkeast-01.azurewebsites.net" => 0,
|
|
9360
|
+
"eastasia-01.azurewebsites.net" => 0,
|
|
9361
|
+
"eastasiastage-01.azurewebsites.net" => 0,
|
|
9362
|
+
"eastus-01.azurewebsites.net" => 0,
|
|
9363
|
+
"eastus2-01.azurewebsites.net" => 0,
|
|
9364
|
+
"eastus2euap-01.azurewebsites.net" => 0,
|
|
9365
|
+
"eastus3-01.azurewebsites.net" => 0,
|
|
9366
|
+
"francecentral-01.azurewebsites.net" => 0,
|
|
9367
|
+
"francesouth-01.azurewebsites.net" => 0,
|
|
9368
|
+
"germanynorth-01.azurewebsites.net" => 0,
|
|
9369
|
+
"germanywestcentral-01.azurewebsites.net" => 0,
|
|
9370
|
+
"indiasouthcentral-01.azurewebsites.net" => 0,
|
|
9371
|
+
"indonesiacentral-01.azurewebsites.net" => 0,
|
|
9372
|
+
"israelcentral-01.azurewebsites.net" => 0,
|
|
9373
|
+
"israelnorthwest-01.azurewebsites.net" => 0,
|
|
9374
|
+
"italynorth-01.azurewebsites.net" => 0,
|
|
9375
|
+
"japaneast-01.azurewebsites.net" => 0,
|
|
9376
|
+
"japanwest-01.azurewebsites.net" => 0,
|
|
9377
|
+
"jioindiacentral-01.azurewebsites.net" => 0,
|
|
9378
|
+
"jioindiawest-01.azurewebsites.net" => 0,
|
|
9379
|
+
"koreacentral-01.azurewebsites.net" => 0,
|
|
9380
|
+
"koreasouth-01.azurewebsites.net" => 0,
|
|
9381
|
+
"malaysiawest-01.azurewebsites.net" => 0,
|
|
9382
|
+
"mexicocentral-01.azurewebsites.net" => 0,
|
|
9383
|
+
"newzealandnorth-01.azurewebsites.net" => 0,
|
|
9384
|
+
"northcentralus-01.azurewebsites.net" => 0,
|
|
9385
|
+
"northcentralusstage-01.azurewebsites.net" => 0,
|
|
9386
|
+
"northeastus5-01.azurewebsites.net" => 0,
|
|
9387
|
+
"northeurope-01.azurewebsites.net" => 0,
|
|
9388
|
+
"norwayeast-01.azurewebsites.net" => 0,
|
|
9389
|
+
"norwaywest-01.azurewebsites.net" => 0,
|
|
9390
|
+
"p.azurewebsites.net" => -1,
|
|
9391
|
+
"polandcentral-01.azurewebsites.net" => 0,
|
|
9392
|
+
"qatarcentral-01.azurewebsites.net" => 0,
|
|
9393
|
+
"southafricanorth-01.azurewebsites.net" => 0,
|
|
9394
|
+
"southafricawest-01.azurewebsites.net" => 0,
|
|
9395
|
+
"southcentralus-01.azurewebsites.net" => 0,
|
|
9396
|
+
"southcentralus2-01.azurewebsites.net" => 0,
|
|
9397
|
+
"southeastasia-01.azurewebsites.net" => 0,
|
|
9398
|
+
"southeastus5-01.azurewebsites.net" => 0,
|
|
9399
|
+
"southindia-01.azurewebsites.net" => 0,
|
|
9400
|
+
"spaincentral-01.azurewebsites.net" => 0,
|
|
9401
|
+
"swedencentral-01.azurewebsites.net" => 0,
|
|
9402
|
+
"swedensouth-01.azurewebsites.net" => 0,
|
|
9403
|
+
"switzerlandnorth-01.azurewebsites.net" => 0,
|
|
9404
|
+
"switzerlandwest-01.azurewebsites.net" => 0,
|
|
9405
|
+
"taiwannorth-01.azurewebsites.net" => 0,
|
|
9406
|
+
"taiwannorthwest-01.azurewebsites.net" => 0,
|
|
9407
|
+
"uaecentral-01.azurewebsites.net" => 0,
|
|
9408
|
+
"uaenorth-01.azurewebsites.net" => 0,
|
|
9409
|
+
"uksouth-01.azurewebsites.net" => 0,
|
|
9410
|
+
"ukwest-01.azurewebsites.net" => 0,
|
|
9411
|
+
"westcentralus-01.azurewebsites.net" => 0,
|
|
9412
|
+
"westeurope-01.azurewebsites.net" => 0,
|
|
9413
|
+
"westindia-01.azurewebsites.net" => 0,
|
|
9414
|
+
"westus-01.azurewebsites.net" => 0,
|
|
9415
|
+
"westus2-01.azurewebsites.net" => 0,
|
|
9416
|
+
"westus3-01.azurewebsites.net" => 0,
|
|
9342
9417
|
"cloudapp.net" => 0,
|
|
9343
9418
|
"trafficmanager.net" => 0,
|
|
9344
9419
|
"blob.core.usgovcloudapi.net" => 0,
|
|
@@ -9754,6 +9829,8 @@ class DomainName
|
|
|
9754
9829
|
"subsc-pay.com" => 0,
|
|
9755
9830
|
"subsc-pay.net" => 0,
|
|
9756
9831
|
"git-pages.rit.edu" => 0,
|
|
9832
|
+
"rocketpreview.app" => 0,
|
|
9833
|
+
"builtwithrocket.new" => -1,
|
|
9757
9834
|
"rocky.page" => 0,
|
|
9758
9835
|
"rub.de" => 0,
|
|
9759
9836
|
"ruhr-uni-bochum.de" => 0,
|
|
@@ -10157,6 +10234,7 @@ class DomainName
|
|
|
10157
10234
|
"v0.build" => 0,
|
|
10158
10235
|
"vercel.dev" => 0,
|
|
10159
10236
|
"vusercontent.net" => 0,
|
|
10237
|
+
"tmp.now" => 0,
|
|
10160
10238
|
"vercel.run" => 0,
|
|
10161
10239
|
"now.sh" => 0,
|
|
10162
10240
|
"2038.io" => 0,
|
|
@@ -10223,9 +10301,6 @@ class DomainName
|
|
|
10223
10301
|
"grok.me" => 0,
|
|
10224
10302
|
"xenonconnect.de" => -1,
|
|
10225
10303
|
"half.host" => 0,
|
|
10226
|
-
"xnbay.com" => 0,
|
|
10227
|
-
"u2.xnbay.com" => 0,
|
|
10228
|
-
"u2-local.xnbay.com" => 0,
|
|
10229
10304
|
"cistron.nl" => 0,
|
|
10230
10305
|
"demon.nl" => 0,
|
|
10231
10306
|
"xs4all.space" => 0,
|
data/lib/domain_name/version.rb
CHANGED
data/lib/domain_name.rb
CHANGED
|
@@ -87,8 +87,8 @@ class DomainName
|
|
|
87
87
|
@uri_host = @hostname = @ipaddr.to_s
|
|
88
88
|
@domain = @tld = nil
|
|
89
89
|
return
|
|
90
|
-
when /\A([0-9A-Fa-f:]*:[0-9A-Fa-f:]*:[0-9A-Fa-f:]
|
|
91
|
-
/\A\[([0-9A-Fa-f:]*:[0-9A-Fa-f:]*:[0-9A-Fa-f:]
|
|
90
|
+
when /\A([0-9A-Fa-f:]*:[0-9A-Fa-f:]*:(?:[0-9A-Fa-f:]*|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+))\z/,
|
|
91
|
+
/\A\[([0-9A-Fa-f:]*:[0-9A-Fa-f:]*:(?:[0-9A-Fa-f:]*|[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+))\]\z/
|
|
92
92
|
@ipaddr = IPAddr.new($1)
|
|
93
93
|
@hostname = @ipaddr.to_s
|
|
94
94
|
@uri_host = "[#{@hostname}]"
|
|
@@ -253,12 +253,7 @@ class DomainName
|
|
|
253
253
|
alias idn hostname_idn
|
|
254
254
|
|
|
255
255
|
def domain_idn
|
|
256
|
-
@domain_idn ||=
|
|
257
|
-
if @ipaddr
|
|
258
|
-
@domain
|
|
259
|
-
else
|
|
260
|
-
DomainName::Punycode.decode_hostname(@domain)
|
|
261
|
-
end
|
|
256
|
+
@domain_idn ||= DomainName::Punycode.decode_hostname(@domain) if @domain
|
|
262
257
|
end
|
|
263
258
|
|
|
264
259
|
def tld_idn
|
data/test/test_domain_name.rb
CHANGED
|
@@ -293,6 +293,27 @@ class TestDomainName < Test::Unit::TestCase
|
|
|
293
293
|
}
|
|
294
294
|
end
|
|
295
295
|
|
|
296
|
+
test "parse IPv4-embedded IPv6 addresses" do
|
|
297
|
+
{
|
|
298
|
+
'::ffff:192.0.2.1' => '::ffff:192.0.2.1',
|
|
299
|
+
'[::ffff:192.0.2.1]' => '::ffff:192.0.2.1',
|
|
300
|
+
'2001:db8::192.0.2.1' => '2001:db8::c000:201',
|
|
301
|
+
}.each { |host, normalized|
|
|
302
|
+
dn = DomainName(host)
|
|
303
|
+
assert_equal(normalized, dn.hostname)
|
|
304
|
+
assert_equal("[#{normalized}]", dn.uri_host)
|
|
305
|
+
assert_equal(IPAddr.new(normalized), dn.ipaddr)
|
|
306
|
+
assert_equal(nil, dn.domain)
|
|
307
|
+
assert_equal(nil, dn.tld)
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
assert_raises(IPAddr::InvalidAddressError) do
|
|
311
|
+
DomainName('2001:db8::192.0.2.999')
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
assert_nil(DomainName('2001:192.0.2.1::1').ipaddr)
|
|
315
|
+
end
|
|
316
|
+
|
|
296
317
|
test "get superdomain" do
|
|
297
318
|
[
|
|
298
319
|
%w[www.sub.example.local sub.example.local example.local local],
|
|
@@ -318,4 +339,8 @@ class TestDomainName < Test::Unit::TestCase
|
|
|
318
339
|
assert_equal "xn--wgv71a", dn.tld
|
|
319
340
|
assert_equal "日本", dn.tld_idn
|
|
320
341
|
end
|
|
342
|
+
|
|
343
|
+
test "return nil for an absent IDN domain" do
|
|
344
|
+
assert_nil DomainName.new("com").domain_idn
|
|
345
|
+
end
|
|
321
346
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: domain_name
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.20260907
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Akinori MUSHA
|
|
@@ -83,6 +83,7 @@ files:
|
|
|
83
83
|
- ".github/renovate.json5"
|
|
84
84
|
- ".github/workflows/ci.yml"
|
|
85
85
|
- ".github/workflows/publish-gem.yml"
|
|
86
|
+
- ".github/workflows/update-public-suffix-list.yml"
|
|
86
87
|
- ".gitignore"
|
|
87
88
|
- CHANGELOG.md
|
|
88
89
|
- Gemfile
|