No tiktok!
This commit is contained in:
parent
d628f404cf
commit
590aa28a65
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@
|
||||||
path = with pkgs; [ gawk wget ];
|
path = with pkgs; [ gawk wget ];
|
||||||
script = ''
|
script = ''
|
||||||
wget -nv -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf > /tmp/new.conf
|
wget -nv -O - https://raw.githubusercontent.com/hagezi/dns-blocklists/main/unbound/tif.blacklist.conf > /tmp/new.conf
|
||||||
|
echo 'local-zone: "tiktok.com." always_nxdomain' >> /tmp/new.conf
|
||||||
echo 'local-zone: "iogames.space." always_nxdomain' >> /tmp/new.conf
|
echo 'local-zone: "iogames.space." always_nxdomain' >> /tmp/new.conf
|
||||||
echo 'local-zone: "taming.io." always_nxdomain' >> /tmp/new.conf
|
echo 'local-zone: "taming.io." always_nxdomain' >> /tmp/new.conf
|
||||||
awk '!seen[$0]++' /tmp/new.conf > /etc/unbound/ads.conf
|
awk '!seen[$0]++' /tmp/new.conf > /etc/unbound/ads.conf
|
||||||
|
|
Loading…
Reference in a new issue