Blocklist Updater for DNS Masq
Project description
dnsblock-update
Blocklist Updater for DNSmasq
Usage
Installation
Run the following command:
pip3 install dnsblock_update
Configuration
Create a configuration file with the following content:
dnsmasq:
path: "result.conf" # Generated DNSMasq configuration
repository:
path: "./repo/" # Path to the cache repository used by the updater
blocklists:
- name: "notracking" # name of the blocklist
url: https://example.com/blacklist.txt # url of the blocklist
Execution
Create a cronjob:
0 2 * * * /usr/bin/python3 -m dnsblock_update /etc/dnsblock_update/config.yml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dnsblock_update-0.0.1.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for dnsblock_update-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e71ab717b66d6cbd38a06d3decf412a5c5dcd1c90f91c2fad06a453f563cadf |
|
MD5 | 8f56b0581f42f7a1ecbfec3fab4158dd |
|
BLAKE2b-256 | 4b71f34c9a4ae4c10768acaa002c953b6ad23164138d4fe1cb8e1ef2903ef5f6 |