dsc-psl-convert(1)
π dsc-psl-convert(1) π
okay bestie, so this is a General Commands Manual page for dsc-psl-convert, and it's literally the glow-up machine that turns a Public Suffix List (PSL) into a DSC TLD List. we're doing this together, grab a snack π
β¨ NAME β¨
dsc-psl-convert β Convert Public Suffix List (PSL) to DSC TLD List
πΈ SYNOPSIS πΈ
dsc-psl-convert [ options ] [ PSL file ]
π¦ DESCRIPTION π¦
It converts a Public Suffix List (PSL) into a DSC TLD List, and it drops the result on stdout. that's the whole vibe.
If you don't hand it a PSL, it'll use the one already installed on your system β for example, on Debian/Ubuntu the package publicsuffix will be installed in /usr/share/publicsuffix. no need to go hunting, bestie, it already has one π
If you pass - as the file, it reads from stdin instead. classic.
You can also download the PSL yourself from https://publicsuffix.org/ if you're feeling main character energy.
The PSL gets converted into the TLD list format (peep dsc.conf(5) for that) like this:
- Exceptions (
!name) are ignored π - Single label suffixes are ignored
- Wildcards (
*.) are removed before processing - All labels will be encoded in IDN/punycode
β OPTIONS β
--allβ Include all names found in the PSL file. The default is to stop after ICANN domains (===END ICANN DOMAINS===). so if you want the whole thing, you gotta say so.--no-skip-idna-errβ Report errors when it's trying to convert international domain names into ASCII (punycode). The default is to just ignore those errors. loud mode, activated.-h|--helpβ Show help and exit. the classic. π«Ά
π OUTPUT FORMAT π
The output format used for DSC's tld_list conf option is literally just one line per suffix. it also supports commenting out an entry with #.
For example:
co.uk
net.au
#net.cn
π EXAMPLE SETUP π
This example fetches the Public Suffix List and converts it in-place into a DSC TLD list, stores it in /etc/dsc, and configures DSC to use that. full send π
wget -O - https://publicsuffix.org/list/public_suffix_list.dat | \
dsc-psl-convert - > /etc/dsc/tld.list
echo "tld_list /etc/dsc/tld.list;" >> /etc/dsc/dsc.conf
π SEE ALSO π
π AUTHORS π
Jerry LundstrΓΆm, DNS-OARC
Maintained by DNS-OARC
https://www.dns-oarc.net/tools/dsc
π BUGS π
For issues and feature requests please use:
https://codeberg.org/DNS-OARC/dsc/issues
For question and help please use:
admin@dns-oarc.net
ngl, if something's broken, don't just suffer in silence β hit up those links or that email. they want to know. fr fr.
and that's the whole page, bestie β this was DNS Statistics Collector, version <purple>2.16.1</purple>, dsc-psl-convert(1), and honestly? iconic. go convert some suffixes. periodt π
β¨
π¦ where this page comes from
- ubuntu stonking: oarc-dsc 2.16.1-1 Β· BSD-3-Clause
- Copyright (c) 2008-2026 OARC, Inc
- Copyright (c) 2007-2008, Internet Systems Consortium, Inc
- Copyright (c) 2003-2007, The Measurement Factory, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms