1##################################################################################
2#                                                                                #
3#   Generate a block list of domains using public data sources, and the local    #
4#   domains-blocklist-local-additions.txt file.                                  #
5#                                                                                #
6#   The default configuration is just indicative, and corresponds to the one     #
7#   used to produce the public "mybase" set.                                     #
8#                                                                                #
9#   Comment out the URLs of the sources you wish to disable, leave the ones      #
10#   you would like enabled uncommented.  Then run the script to build the        #
11#   dnscrypt-blocklist-domains.txt file:                                         #
12#                                                                                #
13#   $  generate-domains-blocklist.py -o dnscrypt-blocklist-domains.txt           #
14#                                                                                #
15#   Domains that should never be blocked can be put into a file named            #
16#   domains-allowlist.txt.                                                       #
17#                                                                                #
18#   That blocklist file can then be used in the dnscrypt-proxy.toml file:        #
19#                                                                                #
20#   [blocked_names]                                                              #
21#                                                                                #
22#     blocked_names_file = 'dnscrypt-blocklist-domains.txt'                      #
23#                                                                                #
24##################################################################################
25
26# Local additions
27file:domains-blocklist-local-additions.txt
28
29# AdAway is an open source ad blocker for Android using the hosts file.
30# https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt
31
32# EasyList
33# https://easylist-downloads.adblockplus.org/easylist_noelemhide.txt
34
35# EasyList China
36# https://easylist-downloads.adblockplus.org/easylistchina.txt
37
38# RU AdList
39# https://easylist-downloads.adblockplus.org/advblock.txt
40
41# Peter Lowe's Ad and tracking server list
42https://pgl.yoyo.org/adservers/serverlist.php?hostformat=nohtml
43
44# Spam404
45# https://raw.githubusercontent.com/Spam404/lists/master/main-blacklist.txt
46
47# Malvertising filter list by Disconnect
48# https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
49
50# Ads filter list by Disconnect
51# https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
52
53# Basic tracking list by Disconnect
54# https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
55
56# KAD host file (fraud/adware) without controversies
57# https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts_without_controversies.txt
58
59# BarbBlock list (spurious and invalid DMCA takedowns)
60https://paulgb.github.io/BarbBlock/blacklists/domain-list.txt
61
62# Dan Pollock's hosts list
63# https://someonewhocares.org/hosts/hosts
64
65# NoTracking's list - blocking ads, trackers and other online garbage
66https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt
67
68# NextDNS CNAME cloaking list
69https://raw.githubusercontent.com/nextdns/cname-cloaking-blocklist/master/domains
70
71# AdGuard Simplified Domain Names filter
72# https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
73
74# Geoffrey Frogeye's block list of first-party trackers - https://hostfiles.frogeye.fr/
75https://hostfiles.frogeye.fr/firstparty-trackers.txt
76
77# CoinBlockerLists: blocks websites serving cryptocurrency miners - https://gitlab.com/ZeroDot1/CoinBlockerLists/ - Contains false positives
78# https://gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/list_browser.txt
79
80# Websites potentially publishing fake news
81# https://raw.githubusercontent.com/marktron/fakenews/master/fakenews
82
83# Quidsup NoTrack Blocklist - Contains too many false positives to be enabled by default
84# https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
85
86# Quidsup Malware Blocklist - Contains too many false positives to be enabled by default
87# https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
88
89# AntiSocial Blacklist is an extensive collection of potentially malicious domains
90# https://theantisocialengineer.com/AntiSocial_Blacklist_Community_V1.txt
91
92# Steven Black hosts file
93# https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
94
95# A list of adserving and tracking sites maintained by @anudeepND
96# https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
97
98# Anudeep's Blacklist (CoinMiner) - Blocks cryptojacking sites
99# https://raw.githubusercontent.com/anudeepND/blacklist/master/CoinMiner.txt
100
101# Block Spotify ads
102# https://gitlab.com/CHEF-KOCH/cks-filterlist/-/raw/master/Anti-Corp/Spotify/Spotify-HOSTS.txt
103
104### Spark < Blu Go < Blu < Basic < Ultimate
105### (With pornware blocking) Porn < Unified
106# Energized Ultimate
107# https://block.energized.pro/ultimate/formats/domains.txt
108
109# Energized Basic
110# https://block.energized.pro/basic/formats/domains.txt
111
112# Energized BLU
113# https://block.energized.pro/blu/formats/domains.txt
114
115# OISD.NL - Blocks ads, phishing, malware, tracking and more. WARNING: this is a huge list.
116# https://dbl.oisd.nl/
117
118# OISD.NL (smaller subset) - Blocks ads, phishing, malware, tracking and more. Tries to miminize false positives.
119https://hosts.oisd.nl/basic/
120
121# Captain Miao ad list - Block ads and trackers, especially Chinese and Android trackers
122# https://raw.githubusercontent.com/jdlingyu/ad-wars/master/sha_ad_hosts
123
124# Phishing Army - https://phishing.army/
125# https://phishing.army/download/phishing_army_blocklist.txt
126
127# Block pornography
128# https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/0.0.0.0/hosts
129# https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts
130# https://raw.githubusercontent.com/cbuijs/shallalist/master/porn/domains
131# https://raw.githubusercontent.com/olbat/ut1-blacklists/master/blacklists/adult/domains
132# https://block.energized.pro/porn/formats/domains.txt
133# https://raw.githubusercontent.com/mhxion/pornaway/master/hosts/porn_sites.txt
134
135# Block gambling sites
136# https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts
137# https://raw.githubusercontent.com/olbat/ut1-blacklists/master/blacklists/gambling/domains
138
139# Block dating websites
140# https://raw.githubusercontent.com/olbat/ut1-blacklists/master/blacklists/dating/domains
141
142# Block social media sites
143# https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts
144# https://block.energized.pro/extensions/social/formats/domains.txt
145# https://raw.githubusercontent.com/olbat/ut1-blacklists/master/blacklists/social_networks/domains
146
147# Goodbye Ads - Specially designed for mobile ad protection
148# https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
149
150# NextDNS BitTorrent blocklist
151# https://raw.githubusercontent.com/nextdns/bittorrent-blocklist/master/domains
152
153# Block spying and tracking on Windows
154# https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/dnscrypt/spy.txt
155
156# GameIndustry.eu - Block spyware, advertising, analytics, tracking in games and associated clients
157# https://www.gameindustry.eu/files/hosts.txt
158
159