mkdir /usr/local/etc/dnscrypt-proxy/generate-domains-blacklistscd /usr/local/etc/dnscrypt-proxy/generate-domains-blacklistswget https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/utils/generate-domains-blacklists/domains-blacklist.confwget https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/utils/generate-domains-blacklists/domains-blacklist-local-additions.txtwget https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/utils/generate-domains-blacklists/domains-time-restricted.txtwget https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/utils/generate-domains-blacklists/domains-whitelist.txtwget https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/master/utils/generate-domains-blacklists/generate-domains-blacklist.pychmod a+x generate-domains-blacklist.py
nano domains-blacklist.conf
nano domains-blacklist-local-additions.txt
/usr/local/bin/python2.7 generate-domains-blacklist.py > dnscrypt-blacklist-domains.txt
cd ..
ln -s generate-domains-blacklists/dnscrypt-blacklist-domains.txt dnscrypt-blacklist-domains.txt
nano dnscrypt-proxy.toml
[blacklist] blacklist_file = 'dnscrypt-blacklist-domains.txt'
blacklist_file = 'dnscrypt-blacklist-domains.txt
nano /usr/local/opnsense/service/templates/OPNsense/Dnscryptproxy/dnscrypt-proxy.toml
[static][blacklist] blacklist_file = 'dnscrypt-blacklist-domains.txt'{% if helpers.exists('OPNsense.dnscryptproxy.server.servers.server') %}{% for server_list in helpers.toList('OPNsense.dnscryptproxy.server.servers.server') %}{% if server_list.enabled == '1' %} [static.'{{server_list.name}}'] stamp = 'sdns://{{server_list.stamp}}'{% endif %}{% endfor %}{% endif %}