From 8c794bfc0b64af3959d1dbe9b22282f18a48ecae Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Tue, 11 Dec 2018 17:21:51 +1100 Subject: [PATCH] use pihole list for dns blocker --- update-blocklist.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update-blocklist.sh b/update-blocklist.sh index 7630cc3..5535f73 100644 --- a/update-blocklist.sh +++ b/update-blocklist.sh @@ -3,8 +3,8 @@ #! /bin/bash set -e -blacklist=http://www.squidblacklist.org/downloads/dg-ads.acl +blacklist=https://v.firebog.net/hosts/Easylist.txt mkdir -p /tmp/dnsmasq-blocklist -curl -s --max-filesize 20M -o /tmp/dnsmasq-blocklist/sbl-dg-ads.hosts -$blacklist +curl -s --max-filesize 20M -o /tmp/dnsmasq-blocklist/ads $blacklist +sed -i -e 's/^/0.0.0.0 /' /tmp/dnsmasq-blocklist/ads /etc/init.d/dnsmasq restart -- 2.43.2