add community.list. Switched to dnscrypt-proxy2

This commit is contained in:
itdoginfo
2022-06-16 23:19:26 +07:00
parent f5ff3e3abc
commit 2982343fb7
4 changed files with 49 additions and 13 deletions

View File

@@ -1,4 +0,0 @@
config dnscrypt-proxy ns1
option address '127.0.0.1'
option port '5353'
option resolver 'scaleway-fr'

View File

@@ -10,12 +10,14 @@ echo "Run download lists"
{% if download_utility == "curl" %}
curl -z $dir/subnet.lst https://antifilter.download/list/subnet.lst --output $dir/subnet.lst
curl -z $dir/ip.lst https://antifilter.download/list/ip.lst --output $dir/ip.lst
curl -z $dir/community.lst https://community.antifilter.download/list/community.lst --output $dir/community.lst
{% elif download_utility == "wget" %}
rm -f /$dir/subnet.lst && wget -P $dir https://antifilter.download/list/subnet.lst
rm -f /$dir/ip.lst && wget -P $dir https://antifilter.download/list/ip.lst
rm -f /$dir/community.lst && wget -P $dir https://community.antifilter.download/list/community.lst
{% endif %}
echo "Firewall restart"
/etc/init.d/firewall restart
/etc/init.d/firewall restart