/
tlds.txt
84 lines (54 loc) · 2.45 KB
/
tlds.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
tlds.json
~~~~~~~~~
Top-level domain names and public suffixes.
* Structure
The file contains a JSON object, which has the following name/value
pair:
tld [object]
Names are TLD labels, represented as lowercase A-labels, and
values are their descriptions as [domain-object].
* The [domain-object] data structure
A [domain-object] data structure is a [protocol-object] with following
additional name/value pairs:
iana [boolean]
Whether the domain has officially endorsed by ICANN or not.
mozilla_idn_whitelist [boolean]
Whether the domain is in the Gecko's "network.IDN.whitelist.*"
whitelist ("IDN-enabled TLDs" list) or not. Note that this
preference is obsolete.
public_suffix [string?]
Whether the domain is a public suffix or not. If the value is
|ICANN|, the domain is an ICANN domain in PSL. If the value is
|PRIVATE|, the domain is a PRIVATE domain in PSL. Otherwise,
i.e. if the value is |0|, or if has no value and no |*| fallback
entry (see |subdomains| field), the domain is not a public suffix.
subdomains [object?]
Subdomains of the domain. Names are domain labels of subdomains,
represented as lowercase A-labels, and values are their
descriptions. The |*| label represents the "fallback" entry for
the |public_suffix| fields.
u [string?]
The u-label of the domain label, if it is different from the
A-label.
* Sources
IANA — Root Zone Database <https://www.iana.org/domains/root/db>.
<http://data.iana.org/TLD/tlds-alpha-by-domain.txt>.
Top-level domain - Wikipedia, the free encyclopedia
<https://en.wikipedia.org/wiki/Top-level_domain>.
RFC 2606 - Reserved Top Level DNS Names
<https://tools.ietf.org/html/rfc2606>.
RFC 6761 - Special-Use Domain Names
<https://tools.ietf.org/html/rfc6761>.
RFC 6762 - Multicast DNS
<https://tools.ietf.org/html/rfc6762#appendix-G>.
IDN-enabled TLDs — Mozilla
<https://www.mozilla.org/en-US/about/governance/policies/security-group/tld-idn/>.
<https://github.com/mozilla/gecko-dev/blob/master/modules/libpref/init/all.js>.
View the Public Suffix List <https://publicsuffix.org/list/>.
* License
You are granted a license to use, reproduce, and create derivative
works of the JSON file and this document.
Per CC0 <https://creativecommons.org/publicdomain/zero/1.0/>, to the
extent possible under law, the author of the JSON file and this
document has waived all copyright and related or neighboring rights to
the JSON file and this document.