I've recenly installed dnscrypt-proxy
. The configuration file for it at /etc/dnscrypt-proxy/dnscrypt-proxy.toml
has a blacklist section I'm currently using:
[blacklist]
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
blacklist_file = '/etc/dnscrypt-proxy/CustomIgnores.txt'
I was wondering whether this option replaces the redirects at /etc/hosts? Or that both are used?
What does the /etc/hosts file even belong to? And how does the Blacklist option for dnscrypt even work(I assume it also just redirects to localhost)?
Thanks.