Launcher for dns_blocklist script
maloe 15dd5608d9 Delete 'test.tmp' | 2 months ago | |
---|---|---|
dns | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
dnsbl_launcher.sh | 6 years ago |
Simple Launcher for DNS_Blocklist Script with additional features.
Main reason for this launcher was to break down the commandline in fcrontab from:
%daily * * bash /<path-to>/dns_blocklist.sh -s 1,2,3,5,7,8,12,13,14,"https://easylist.to/easylistgermany/easylistgermany.txt","https://easylist.to/easylist/easyprivacy.txt","https://easylist.to/easylist/fanboy-social.txt","https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/win7/extra.txt","https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/win7/spy.txt" -b ~/bin/blacklist.hosts -r 0.0.0.0
to clearly arranged:
%daily * * bash /<path-to>/dnsbl_launcher.sh
This launcher requires the DNS Blocklist script by sfeakes be copied into a subfolder "dns".
The script can be download from here: dns_blocklist.sh
Start the launcher without option for normal usage.
Output of dnsbl_launcher.sh --help
:
Usage: dnsbl_launcher.sh [OPTION]
Launcher for DNS Blocklist Script (by sfeakes)
Options:
-ls, --sourcelist List sources
-lb, --blocklist search List and search unbound conf
-ll, --logfile List log
-h, --help Show this help
Sourcelist, Blacklists, Whitelists are expected in the same subfolder "dns". Edit the launcher to change pathes and fit your needs.
See README of ipfire-scripts and Article on Kuketz-Blog
v0.2 (2018-02-11)