From 969b04ad7c11cbd33ec80ac03b112d07a4461c8a Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Fri, 22 Nov 2024 09:15:56 +0100 Subject: [PATCH] Do not block googleadservices.com --- openwrt-unbound-block.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt-unbound-block.sh b/openwrt-unbound-block.sh index dd57bd7..e5243d3 100755 --- a/openwrt-unbound-block.sh +++ b/openwrt-unbound-block.sh @@ -24,7 +24,7 @@ curl -SL https://easylist.to/easylist/easyprivacy.txt | grep -E '^||' | grep -v echo "server:" > /etc/unbound/unbound_ext.conf # consider: grep -E '^[a-zA-Z0-9.]' -sort -u "$TMP_FILE" | grep -E '^[a-zA-Z0-9]' | grep -vE '/|!|\^|\(|\)|#|\.$' | while read -r domain; do +sort -u "$TMP_FILE" | grep -E '^[a-zA-Z0-9]' | grep -vE '/|!|\^|\(|\)|#|\.$' | grep -vE 'googleadservices.com' | while read -r domain; do echo -e "\tlocal-zone: \"$domain.\" refuse" >> /etc/unbound/unbound_ext.conf done