Turn off doh prevention

This commit is contained in:
Chris Dombroski 2024-04-06 10:54:03 -04:00
parent 0b4b3f7001
commit 1a6cf6cd20

View file

@ -56,10 +56,10 @@
startAt = "daily"; startAt = "daily";
postStop = "systemctl reload unbound"; postStop = "systemctl reload unbound";
path = with pkgs; [ gawk wget ]; path = with pkgs; [ gawk wget ];
#wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/doh-vpn-proxy-bypass.blacklist.conf >> /etc/unbound/new.conf
script = '' script = ''
wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/pro.blacklist.conf > /etc/unbound/new.conf wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/pro.blacklist.conf > /etc/unbound/new.conf
wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf >> /etc/unbound/new.conf wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf >> /etc/unbound/new.conf
wget -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/doh-vpn-proxy-bypass.blacklist.conf >> /etc/unbound/new.conf
echo 'local-zone: "iogames.space." always_nxdomain' >> /etc/unbound/new.conf echo 'local-zone: "iogames.space." always_nxdomain' >> /etc/unbound/new.conf
echo 'local-zone: "taming.io." always_nxdomain' >> /etc/unbound/new.conf echo 'local-zone: "taming.io." always_nxdomain' >> /etc/unbound/new.conf
awk '!seen[$0]++' /etc/unbound/new.conf > /etc/unbound/ads.conf awk '!seen[$0]++' /etc/unbound/new.conf > /etc/unbound/ads.conf