From 246c7f7aa46f74656f38e5dd545cc14ce0ccd94e Mon Sep 17 00:00:00 2001 From: Daniel Triendl Date: Mon, 30 Sep 2019 19:32:07 +0200 Subject: [PATCH] Added default blocklist --- blocklist.txt | 3 +++ update-zonefile.py | 1 + 2 files changed, 4 insertions(+) create mode 100644 blocklist.txt diff --git a/blocklist.txt b/blocklist.txt new file mode 100644 index 0000000..78df532 --- /dev/null +++ b/blocklist.txt @@ -0,0 +1,3 @@ +# Stop Firefox from enabeling DoH. Since we are running an ad-blocking DNS +# Server we want to use it. +use-application-dns.net diff --git a/update-zonefile.py b/update-zonefile.py index 783e17f..915e9e6 100755 --- a/update-zonefile.py +++ b/update-zonefile.py @@ -51,6 +51,7 @@ regex_no_comment = '^#.*|^$' lists = [ + {'file': 'blocklist.txt', 'filter': regex_no_comment}, {'url': 'https://pgl.yoyo.org/as/serverlist.php?hostformat=nohtml&showintro=0', 'filter': regex_no_comment}, {'url': 'http://mirror1.malwaredomains.com/files/justdomains', 'filter': regex_no_comment}, {'url': 'http://winhelp2002.mvps.org/hosts.txt', 'regex': regex_domain, 'filter': regex_no_comment},