1PSL(1) User Commands PSL(1)
2
3
4
6 psl - Explore the Public Suffix List
7
9 psl [options] <domains...>
10
12 `psl' explores the Public Suffix List. It takes a list of domains on
13 the command line, or if no domains are present on the command line, it
14 reads one domain per line from standard input. It prints its results
15 to standard output, with each line containing one domain followed by a
16 colon, followed by the relevant information for that domain.
17
19 The information printed per domain changes based on the selected mode.
20 Available modes are:
21
22 --is-public-suffix
23 check if domains are public suffixes. [default]
24 Returned data: 1 if the domain is a public suffix, 0 otherwise.
25 This option can be combined with --no-star-rule. It's use will
26 switch off the PSL 'prevailing star rule' so that all TLDs not
27 explicitly listed in the PSL will return 0 (not a public suf‐
28 fix).
29
30 --is-cookie-domain-acceptable <cookie-domain>
31 check if cookie-domain is acceptable for domains.
32 Returned data: 1 if cookie-domain is acceptable for the domain,
33 0 otherwise.
34
35 --print-unreg-domain
36 Returned data: the longest public suffix part for each domain.
37
38 --print-reg-domain
39 Returned data: the shortest private suffix part for each domain.
40
42 `psl' can instead be used to report information about the version of
43 the library and its built-in Public Suffix data:
44
45 --version
46 show library version information
47
48 --print-info
49 print info about library builtin data
50
52 By default, `psl' will use the latest available Public Suffix data.
53 You can also direct it to use a different file:
54
55 --use-latest-data
56 use the latest available PSL data [default]
57
58 --use-builtin-data
59 use the builtin PSL data
60
61 --load-psl-file <filename>
62 load PSL data from file
63
65 https://publicsuffix.org/ https://github.com/rockdaboot/libpsl
66
68 libpsl and `psl' are copyright © 2014-2016 Tim Ruehsen under an MIT-
69 style License.
70 This documentation was written by Daniel Kahn Gillmor for the Debian
71 project, but may be used by others under the same license as libpsl
72 itself.
73
74
75
76psl 0.13.0 July 2016 PSL(1)