Block Lists
Like anyone on the Internet, I have amassed a collection curated block lists to prevent any malicious sites, ads and trackers.
Even better though, I aggregated these lists below for sharing! Most of them are host files (to be used in /etc/hosts or PFBlocker), but I have some Pi-Hole-'esc lists as well.
These lists work great with the Blocklists python script for easy management.
Additional lists can be found here.
The content of most of these lists are NOT generated by me (just a heads up)!
Host File Syntax
Generic Lists
https://gist.githubusercontent.com/leviem1/94ee89e816b4d63298a2fb5c9f822bc3/raw/3f3eb67e5cd7845fd0ac57b674a1f2e793012457/fangxiao-domains-pihole-blocklist-11-2022
https://hostsfile.org/Downloads/hosts.txt
https://paulgb.github.io/BarbBlock/blacklists/hosts-file.txt
https://raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts
https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts
https://raw.githubusercontent.com/VeleSila/yhosts/master/hosts
https://raw.githubusercontent.com/vokins/yhosts/master/hosts
https://someonewhocares.org/hosts/zero/hosts
https://sysctl.org/cameleon/hosts
https://hostsfile.mine.nu/hosts0.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/doh.txt
Ads and Trackers
https://adaway.org/hosts.txt
https://adblock.mahakala.is
https://badmojr.github.io/1Hosts/Pro/hosts.txt
https://blocklistproject.github.io/Lists/ads.txt
https://blocklistproject.github.io/Lists/tracking.txt
https://github.com/mhxion/pornaway/raw/master/hosts/porn_ads.txt
https://github.com/mhxion/pornaway/raw/master/hosts/safe_ads.txt
https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0
https://public.idigitalflame.com/lists/adsN.txt
https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt
https://raw.githubusercontent.com/bigdargon/hostsVN/master/hosts
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/pro.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/pro.plus.txt
https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts
https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds-Ultra.txt
https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt
https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt
Spam, Fraud and Misuse
https://blocklistproject.github.io/Lists/abuse.txt
https://blocklistproject.github.io/Lists/drugs.txt
https://blocklistproject.github.io/Lists/fraud.txt
https://blocklistproject.github.io/Lists/gambling.txt
https://blocklistproject.github.io/Lists/scam.txt
https://nocdn.nrd-list.com/3/nrd-list-32-days.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts
https://raw.githubusercontent.com/marktron/fakenews/master/fakenews
https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts
https://urlhaus.abuse.ch/downloads/hostfile
https://v.firebog.net/hosts/Prigent-Crypto.txt
https://www.stopforumspam.com/downloads/toxic_domains_whole.txt
https://dsi.ut-capitole.fr/blacklists/download/arjel.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/gambling.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/marketingware.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/publicite.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/sect.tar.gz
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling/hosts
Malware
https://blocklistproject.github.io/Lists/malware.txt
https://blocklistproject.github.io/Lists/phishing.txt
https://blocklistproject.github.io/Lists/ransomware.txt
https://blocklistproject.github.io/Lists/redirect.txt
https://hosts.oisd.nl
https://nocdn.threat-list.com/3/domains.txt
https://raw.githubusercontent.com/buckmelanoma/block_lists/master/leadforensics.txt
https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHosts.txt
https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts
https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt
https://threatfox.abuse.ch/downloads/hostfile/
https://winhelp2002.mvps.org/hosts.txt
https://zerodot1.gitlab.io/CoinBlockerLists/hosts_browser
https://zerodot1.gitlab.io/CoinBlockerLists/list.txt
https://malware-filter.gitlab.io/malware-filter/phishing-filter-hosts.txt
https://dsi.ut-capitole.fr/blacklists/download/bitcoin.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/ddos.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/dialer.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/malware.tar.gz
https://dsi.ut-capitole.fr/blacklists/download/phishing.tar.gz
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/tif.txt
Privacy and Telemetry
https://blocklistproject.github.io/Lists/smart-tv.txt
https://blocklistproject.github.io/Lists/tiktok.txt
https://blocklistproject.github.io/Lists/whatsapp.txt
https://hostfiles.frogeye.fr/firstparty-trackers-hosts.txt
https://hostfiles.frogeye.fr/multiparty-trackers-hosts.txt
https://raw.githubusercontent.com/anudeepND/blacklist/master/facebook.txt
https://raw.githubusercontent.com/danhorton7/pihole-block-tiktok/main/tiktok.txt
https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.amazon.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.apple.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.huawei.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.winoffice.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.samsung.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.tiktok.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.tiktok.extended.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.lgwebos.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.roku.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.vivo.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.oppo-realme.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/hosts/native.xiaomi.txt
Converted Lists
These lists below are converted lists that were initially in Pi-Hole format. They are downloaded weekly and converted into host-file format.
Generic
https://public.idigitalflame.com/lists/general0.txt
https://public.idigitalflame.com/lists/general1.txt
https://public.idigitalflame.com/lists/general2.txt
https://public.idigitalflame.com/lists/general3.txt
Ads
https://public.idigitalflame.com/lists/ads0.txt
https://public.idigitalflame.com/lists/ads1.txt
https://public.idigitalflame.com/lists/ads2.txt
https://public.idigitalflame.com/lists/ads3.txt
https://public.idigitalflame.com/lists/ads4.txt
Spam
https://public.idigitalflame.com/lists/spam0.txt
https://public.idigitalflame.com/lists/spam1.txt
https://public.idigitalflame.com/lists/spam2.txt
https://public.idigitalflame.com/lists/spam3.txt
https://public.idigitalflame.com/lists/spam4.txt
https://public.idigitalflame.com/lists/spam5.txt
https://public.idigitalflame.com/lists/spam6.txt
Malware
https://public.idigitalflame.com/lists/malware0.txt
https://public.idigitalflame.com/lists/malware1.txt
https://public.idigitalflame.com/lists/malware2.txt
https://public.idigitalflame.com/lists/malware3.txt
https://public.idigitalflame.com/lists/malware4.txt
https://public.idigitalflame.com/lists/malware5.txt
https://public.idigitalflame.com/lists/malware6.txt
https://public.idigitalflame.com/lists/malware7.txt
https://public.idigitalflame.com/lists/malware8.txt
https://public.idigitalflame.com/lists/malware9.txt
https://public.idigitalflame.com/lists/malware10.txt
https://public.idigitalflame.com/lists/malware11.txt
https://public.idigitalflame.com/lists/malware12.txt
https://public.idigitalflame.com/lists/malware13.txt
https://public.idigitalflame.com/lists/malware14.txt
https://public.idigitalflame.com/lists/malware15.txt
Privacy
https://public.idigitalflame.com/lists/privacy0.txt
https://public.idigitalflame.com/lists/privacy1.txt
https://public.idigitalflame.com/lists/privacy2.txt
https://public.idigitalflame.com/lists/privacy3.txt
https://public.idigitalflame.com/lists/privacy4.txt
https://public.idigitalflame.com/lists/privacy5.txt
https://public.idigitalflame.com/lists/privacy6.txt
https://public.idigitalflame.com/lists/privacy7.txt
Pi-Hole Syntax
Generic Lists
https://v.firebog.net/hosts/static/w3kbl.txt
https://v.firebog.net/hosts/neohostsbasic.txt
https://raw.githubusercontent.com/RooneyMcNibNug/pihole-stuff/master/SNAFU.txt
https://nsfw.oisd.nl/domainswild2
Ads and Trackers
https://v.firebog.net/hosts/AdguardDNS.txt
https://v.firebog.net/hosts/Admiral.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://v.firebog.net/hosts/Easylist.txt
https://v.firebog.net/hosts/Prigent-Ads.txt
Spam and Misuse
https://raw.githubusercontent.com/matomo-org/referrer-spam-blacklist/master/spammers.txt
https://raw.githubusercontent.com/Spam404/lists/master/main-blacklist.txt
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/gambling
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/easylist
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/Fake-Science
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/spam.mails
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/notserious
Malware
https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt
https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt
https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts
https://bitbucket.org/ethanr/dns-blacklists/raw/8575c9f96e5b4a1308f2f12394abd86d0927a4a0/bad_lists/Mandiant_APT1_Report_Appendix_D.txt
https://phishing.army/download/phishing_army_blocklist_extended.txt
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/Phishing-Angriffe
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt
https://v.firebog.net/hosts/Prigent-Malware.txt
https://raw.githubusercontent.com/HorusTeknoloji/TR-PhishingList/master/url-lists.txt
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/crypto
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/malware
https://raw.githubusercontent.com/AmnestyTech/investigations/master/2021-07-18_nso/domains.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_malware.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://v.firebog.net/hosts/RPiList-Malware.txt
https://v.firebog.net/hosts/RPiList-Phishing.txt
Privacy and Telemetry
https://v.firebog.net/hosts/Easyprivacy.txt
https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-blocklist.txt
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/android-tracking.txt
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV.txt
https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/AmazonFireTV.txt
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/MS-Office-Telemetry
https://raw.githubusercontent.com/RPiList/specials/master/Blocklisten/samsung
https://raw.githubusercontent.com/nocturnalarchives/BlockLists/master/facebook-trackers.txt
IP Blocklists
These lists contain IPv4 and IPv6 blocks and addresses that can be directly blocked.
General Lists
https://www.binarydefense.com/banlist.txt
https://lists.blocklist.de/lists/all.txt
https://blocklist.greensnow.co/greensnow.txt
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level1.netset
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_7d.ipset
Malware and Threats
https://feodotracker.abuse.ch/downloads/ipblocklist_recommended.txt
https://rules.emergingthreats.net/blockrules/compromised-ips.txt
https://cinsscore.com/list/ci-badguys.txt
https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/ips/tif.txt
Tor Exit Nodes
https://www.binarydefense.com/tor.txt
https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1
DOH and DOT
https://public-dns.info/nameservers.txt
https://raw.githubusercontent.com/Sekhan/TheGreatWall/master/TheGreatWall_ipv4
https://raw.githubusercontent.com/Sekhan/TheGreatWall/master/TheGreatWall_ipv6
https://raw.githubusercontent.com/hagezi/dns-blocklists/main/ips/doh.txt
Country Block Lists
As I never need to interact with IP address in the follow country spaces, I also block the IP address blocks in the following countries:
- North Korea https://raw.githubusercontent.com/ipverse/rir-ip/master/country/kp/ipv4-aggregated.txt
- South Korea
- Russia
- Afghanistan
- China
- Congo
- Iraq
- Iran
- Israel
- Laos
- Liberia
- Libya
- Myanmar
- Rwanda
- Saudi Arabia
- Somalia
- Sri Lanka
- Sudan
- Syria
- Zimbabwe
My Custom Lists
These are some lists that I make myself, mostly for specific purposes or blocking a specific type of connection. These are only updated when I find updates or new addesses/IPs to add.
- Ads list, (hostsfile format): https://public.idigitalflame.com/lists/adsN.txt
- DoH providers (hostsfile format): https://public.idigitalflame.com/lists/dohN.txt
- DoH providers (IP address list): https://public.idigitalflame.com/lists/doh0.txt
- NTP providers (IP address list): https://public.idigitalflame.com/lists/ntp0.txt
- Generic Threat IPs (IP address list): https://public.idigitalflame.com/lists/ip0.txt