|
For blocklists, does the "blocked_names_file" field have to reference a local file? Can we point it directly to an external URL for a public blocklist file? For instance can we set it so that |
Answered by
jedisct1
Sep 29, 2026
Replies: 1 comment 1 reply
|
Hi, No, This is intentional, and there's a tool for exactly this:
To keep the list up to date, just run the script periodically (cron, systemd timer, etc.). |
1 reply
Answer selected by
ghta2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
No,
blocked_names_filemust point to a local file. dnscrypt-proxy doesn't download blocklists from URLs by itself.This is intentional, and there's a tool for exactly this:
generate-domains-blocklist.py. It:example.comis blocked,ads.example.comis dropped),utils/generate-domains-blocklist.domains-blocklist.conf: uncomment the sources you want and add your own URLs (such ashttps://blocklist.com/malware.txt). Local files can be included withfile:entr…