Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raynigon/dnsblock-update
Blocklist Updater for DNSmasq
https://github.com/raynigon/dnsblock-update
blocklist dns dnsmasq update
Last synced: 10 days ago
JSON representation
Blocklist Updater for DNSmasq
- Host: GitHub
- URL: https://github.com/raynigon/dnsblock-update
- Owner: raynigon
- License: apache-2.0
- Created: 2021-04-24T09:41:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T07:41:29.000Z (over 1 year ago)
- Last Synced: 2024-11-07T12:50:08.181Z (13 days ago)
- Topics: blocklist, dns, dnsmasq, update
- Language: Python
- Homepage:
- Size: 2.39 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```yaml
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
```