Do not block googleadservices.com

This commit is contained in:
Daniel Pawlik
2024-11-22 09:15:56 +01:00
parent 0c0f037551
commit 969b04ad7c

View File

@@ -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