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
Metadata
Release files for dnsblock-update 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dnsblock_update-0.0.2.tar.gz | 7.9 kB | Without provenance | Details for dnsblock_update-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dnsblock_update-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for dnsblock_update-0.0.2-py3-none-any.whl |
Total release size: 16.1 kB
Release files / dnsblock_update-0.0.2.tar.gz
| Download URL | dnsblock_update-0.0.2.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c9ebe4d45b37f3c0e3c86135ca7ab36622165d0a0216824e47bce1d95d51a27
|
|
BLAKE2b-256 checksum How to use checksums |
f26092fc3e9c8890f448b0116a97c79f1d48d00b24d4ce248829839757037e78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dnsblock_update-0.0.2-py3-none-any.whl
| Download URL | dnsblock_update-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
974a1351aef88cc8673a0ac6496f5b7a33e29d6bd68abe8134e5621698cfd090
|
|
BLAKE2b-256 checksum How to use checksums |
eff781128dc14e0f6465bfdc1c7a50c89e5b626de8f7303b2c49206b8a2b2374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for dnsblock-update 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.