Update unbound's blocklist automatically. Script is run from a cron job.
- Fetches open source block lists
- Parses lists according to unbound's syntax
- Loads new list and runs config check
- If config passes test then replace old versions and reload unbound service
- If config fails, then remove the newest lists
- FreeBSD 12.2-RELEASE on a raspberry pi 3b
- unbound-1.10.1
These block lists are from multiple open source repos:
Homepage |
---|
https://github.com/blocklistproject/Lists |
https://adaway.org/ |
https://github.com/Yhonay/antipopads |
Uses shellcheck for posix compliance.