{"id":20451446,"url":"https://github.com/drsdavidsoft/additional-hosts","last_synced_at":"2025-10-30T19:20:44.508Z","repository":{"id":37041349,"uuid":"197426927","full_name":"DRSDavidSoft/additional-hosts","owner":"DRSDavidSoft","description":"🛡 List of categorized undesired hosts","archived":false,"fork":false,"pushed_at":"2023-07-30T12:05:23.000Z","size":432,"stargazers_count":67,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T20:04:48.448Z","etag":null,"topics":["adblock","adguard","adware","blacklist","denyhosts","denylist","domains","hosts","hostsfile","malware","pi-hole","privacy"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DRSDavidSoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-17T16:36:48.000Z","updated_at":"2025-03-24T01:54:52.000Z","dependencies_parsed_at":"2023-02-15T13:45:54.259Z","dependency_job_id":null,"html_url":"https://github.com/DRSDavidSoft/additional-hosts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRSDavidSoft%2Fadditional-hosts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRSDavidSoft%2Fadditional-hosts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRSDavidSoft%2Fadditional-hosts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DRSDavidSoft%2Fadditional-hosts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DRSDavidSoft","download_url":"https://codeload.github.com/DRSDavidSoft/additional-hosts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657842,"owners_count":21140843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adblock","adguard","adware","blacklist","denyhosts","denylist","domains","hosts","hostsfile","malware","pi-hole","privacy"],"created_at":"2024-11-15T10:58:50.048Z","updated_at":"2025-10-30T19:20:44.383Z","avatar_url":"https://github.com/DRSDavidSoft.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Additional Undesired Hosts\n\n[![License](https://img.shields.io/github/license/DRSDavidSoft/additional-hosts?style=flat-square)](https://github.com/DRSDavidSoft/additional-hosts/blob/master/LICENSE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/DRSDavidSoft/additional-hosts.svg?style=flat-square)](https://github.com/DRSDavidSoft/additional-hosts/commits/master)\n[![GitHub commit activity the past year](https://img.shields.io/github/commit-activity/y/DRSDavidSoft/additional-hosts?style=flat-square)](https://github.com/DRSDavidSoft/additional-hosts/graphs/commit-activity)\n[![Github file size](https://img.shields.io/github/repo-size/DRSDavidSoft/additional-hosts?label=total+size\u0026style=flat-square)](github.com/DRSDavidSoft/additional-hosts/hosts/blob/master/hosts)\n\n## Introduction\nThis is a list of categorized domains, with additional entries for wildcard blocking.  The domains are documented as to keep a record of what is being blocked or allowed.  The primary focus is to maximize blocking unwanted hosts while **guaranteeing** not to break any useful services or legitimate websites.  \n\nEach domain is only added after through research and tests in order to make sure it should be _intentionally blocked_.  If you found _any_ domains that shouldn't be on these lists, please feel free to [open an issue](https://github.com/DRSDavidSoft/additional-hosts/issues/new).\n\nThanks for reporting issues, and using my lists! ❤️\n\n## Blacklist Domains\n| List Title                              | Description                                                   | Download List         |\n| --------------------------------------- | ------------------------------------------------------------- | --------------------- |\n| **Ad and tracker servers**              | Blocks advertisement and trackers, and anything inbetween.\u003cbr/\u003e\u003csup\u003ePop Ups, Pop Unders, Gif Banners, Game Ads, Ads CDNs, etc.\u003c/sup\u003e    | [📝 `adservers-and-trackers.txt`](https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/adservers-and-trackers.txt) |\n| **Activation servers**                  | Blocks license verification and software activation.\u003cbr/\u003e\u003csup\u003eThis list is intended to prevent products from expiring when they detect an invalid license.\u003c/sup\u003e | [📝 `activation.txt`](https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/activation.txt) |\n| **Fake domains**                        | Blocks copycat, scam and fake domains.\u003c/br\u003e\u003csup\u003eThese domains may imitate other well-known websites for various reasons, or promise to provide a functionality that they actually don't do.\u003c/sup\u003e | [📝 `fake-domains.txt`](https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/fake-domains.txt) |\n| **Search blacklist**                    | Blocks useless, shady and annoying domains from from appearing in search engine results. | [📝 `search-blacklist.txt`](https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/search-blacklist.txt) |\n| **Unwanted Iranian domains**            | Blocks various regional scams and popups specific to Iranian websites.\u003cbr/\u003e\u003csup\u003ee.g. Pop Ups, Fake Download Buttons, Scam Landing Pages, Trackers, etc.\u003c/sup\u003e | [📝 `unwanted-iranian.txt`](https://raw.githubusercontent.com/DRSDavidSoft/additional-hosts/master/domains/blacklist/unwanted-iranian.txt) |\n\n_It is recommended that these lists be used in CNAME, Wildcard blocking mode._\n\n**👉 NOTE:** Additional wildcard domains are present in the [📁 `/wildcard-domains/blacklist`](https://github.com/DRSDavidSoft/additional-hosts/tree/master/wildcard-domains/blacklist) directory.\n\n## Whitelist Domains\nThe `whitelist` domains that I use – which are also hand-picked – are being categorized, and _will_ be published under the [📁 `/domains/whitelist`](https://github.com/DRSDavidSoft/additional-hosts/blob/master/domains/whitelist) directory when released.  \nIn the meantime, please contact me if you'd like to receive information about my whitelists.\n\n## Format\nThe lists are provided only in **domains** format at the moment, with the following properties:\n\n- The `#` or `!` denotes a **comment**, and may come at at the beginning of a line, or after an entry.\n- Lines only contain a single hostname.\n- The `*` character represents a wild-card (which [**Pi-hole**](https://pi-hole.net/) might _not_ support, but [**DNSCrypt-proxy**](https://dnscrypt.info/) will – which is what I'm using at the moment.)\n- All whitespace (including new line, tabs, spaces, etc) should be ignored.\n\nOther lists can feel free to remove all whitespace and comments from my lists when/if mine are included.\n\n**👉 NOTE:** If you would like to use my lists as your `/etc/hosts` file, first you would need to convert the domains format to `IPv4` (i.e. `127.0.0.1` or `0.0.0.0`) format.  However, since the hosts file does not support wildcard and/or CNAME blocking, I haven't provided this format for download.  A conversion is needed (adding the required `0.0.0.0` prefix), before it can be used as a HOSTS file.\n\n## Sources\nThe domain entries on this list are hand-picked, and mainly added by analyzing the traffic generated by the devices I use.  I intend to focus on domains related to _both_ websites and mobile apps.  This will include the obvious pop-ups and pop-unders, frame-based ads, 3\u003csup\u003erd\u003c/sup\u003e party image and video ads, mobile in-app banners -- as well as hidden tracking and other unnecessary bloated spyware that is ususally bundled with common apps that are downloaded, and the websites you visit.\n\n## Software\nThe provided lists are compatible with:  \n- [**\u003cimg height=32 align=middle src=\"https://pi-hole.github.io/graphics/Vortex/Vortex_with_Wordmark.svg\"\u003e Pi-hole**](https://pi-hole.net/) and/or [**\u003cimg height=32 align=middle src=\"https://raw.githubusercontent.com/DNSCrypt/dnscrypt-proxy/master/logo.png\"\u003e DNScrypt-proxy**](https://simplednscrypt.org/).\n- [**\u003cimg height=24 align=middle src=\"http://www.squid-cache.org/favicon.ico\"\u003e Squid**](http://www.squid-cache.org/) proxy ([Windows downloads](http://squid.diladele.com/), [How-to use](http://www.thedumbterminal.co.uk/posts/2005/10/blocking_access_to_sites_when_using_squid.html))\n- [**\u003cimg height=24 align=middle src=\"https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/icon38@2x.png\"\u003e uBlock Origin**](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm?hl=en) and/or [**\u003cimg width=24 align=middle src=\"https://adblockplus.org/favicon.ico\"\u003e Adblock Plus**](https://adblockplus.org/download)\n- [**\u003cimg height=24 align=middle src=\"https://adguard.com/img/favicons/favicon.ico\"\u003e AdGuardHome**](https://github.com/AdguardTeam/AdGuardHome#getting-started)\n\nYou can use it on either a server, or using browser extensions, you can filter sites on the client side.\n\n🕳 Read **[Olivier Butterbach](https://github.com/obutterbach)**'s excellent post on Medium to set up Pi-hole:  \nhttps://medium.com/@obutterbach/unlock-the-full-potential-of-pihole-e795342e0e36\n\n## Aggregated lists\nThe following aggregated lists automatically includes the domains in my lists.  You can use the aggregated lists such as:\n- **[1Hosts (Pro)](https://github.com/badmojr/1Hosts/tree/master/Pro)** – includes `adservers-and-trackers` and `unwanted-iranian` lists\n- **[oisd.nl](https://oisd.nl/?p=dl)** – includes `adservers-and-trackers` and `unwanted-iranian` lists\n\nI used to use [this](https://github.com/zeffy/dnscrypt-lists/blob/9d776690e901e106ea5707e4c83f73a07ed2470d/script/make_blacklist.py) python script alongside DNScrypt on my VPS instead of running Pi-hole.\n\n**✍ Note:**  You're welcome to use and include my lists in your aggregated lists and redistribute them.  Please [tell me](https://github.com/DRSDavidSoft/additional-hosts/issues/new?title=Mention+my+list) if you do so, so I can mention your list here as well.\n\n## Sources to use alongside mine\nThese are some of the other lists that you should _definitely_ be using alongside with mine:  \n\n- [Peter Lowe’s Ad and tracking server list](https://pgl.yoyo.org/adservers/):  \n    `https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts\u0026showintro=1\u0026mimetype=plaintext`\n- [Dan Pollock’s hosts file](https://someonewhocares.org/hosts/):  \n    `https://someonewhocares.org/hosts/hosts`\n- [MVPS HOSTS file](https://winhelp2002.mvps.org/hosts.htm):  \n    `https://winhelp2002.mvps.org/hosts.txt`\n- [Steven Black's host file](https://github.com/StevenBlack/hosts):  \n    `https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts`\n- [Lightswitch05's Ads and tracking hosts](https://github.com/lightswitch05/hosts):  \n    `https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt`\n- [AdAway Hosts](https://github.com/AdAway/AdAway/wiki/HostsSources):  \n    `https://adaway.org/hosts.txt`\n- [AdguardDNS](https://adguard-dns.io/en/welcome.html):  \n    `https://v.firebog.net/hosts/AdguardDNS.txt`\n- [WaLLy3K's Ads and trackers personal blacklist](https://firebog.net/about):  \n    `https://v.firebog.net/hosts/static/w3kbl.txt`\n- [anudeepND's Blacklist](https://github.com/anudeepND/blacklist):  \n    `https://raw.githubusercontent.com/anudeepND/blacklist/master/adservers.txt`\n- [EasyList and EasyPrivacy](https://github.com/easylist/easylist):\n    - `https://v.firebog.net/hosts/Easylist.txt`\n    - `https://justdomains.github.io/blocklists/lists/easyprivacy-justdomains.txt`\n\n## Set-Up / Configuration\nI combine my lists with some other lists and generate a final `domains-blacklist.txt` file, that is used on the two servers that I run (one as a redundant).  \n\u003csub\u003eThe source list includes ~1500 links, and resolves to about 80 million records (14 million unique top-level domains).  The servers both have **8GBs** of RAM, and for my usecase about ~15% CPU load on average.\u003c/sub\u003e\n\n_P.S._ Personally I haven't ran into any major issues blocking this many domains, altough some people consider blocking any amount over \u003e1M domains to be overkill.\n\n**Here's a diagram of software setup on both of the servers:**\n\n```\n                    ╭────────────────╮   ╭──────────────────╮\n╔═════════════╗     │                │   │                  │\n║  DoH / DoT  ║     │                │   │                  │ UDP Tunnel    ┌─────────┐\n║             ║  →  │ DNSCrypt-Proxy │ → │ Unbound resolver │ … … … … … … → │ Clients │\n║  Providers  ║     │                │   │                  │               └─────────┘\n╚═════════════╝     │                │   │                  │\n                    ╰────────────────╯   ╰──────────────────╯\n```\n\nThe clients can connect over a secure UDP tunnel (e.g. either on Desktop or mobile).\n\n## Report domains\nIf you notice any domains that you believe should be included in my lists, please report it to me [here](issues/new).  \n\nA great deal of care is taken to avoid any type of false positives.  However, in the event that you see something legitamate is being blocked, missing content and/or breaking functionality, please report false positives by creating an issue [here](issues/new).\n\nThis could be because the domain names that serve those type of ads could potentially be also used to serve legitimate content, which means blocking them will result in an app or website missing content or losing functionality.\n\nThese lists are personaly used by me, with no side-effects.  I have kept the lists short and lightweight, while adding as much as possible to each list.\n\n## Updates\nIn order to get notified of an update, you can mark my repository as \"watched\".  I update this list on a weekly or monthly basis.\n\n**Subscribe to FilterLists entries**:\n- https://filterlists.com/lists/additional-hosts-adservers-and-trackers\n- https://filterlists.com/lists/additional-hosts-unwanted-iranian\n\n## License\nThis repository is licensed under MIT License © 2019-2020 David Refoua.  All re-distribution of my lists, provided that you credit my name and work, are welcome and encouraged.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsdavidsoft%2Fadditional-hosts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrsdavidsoft%2Fadditional-hosts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsdavidsoft%2Fadditional-hosts/lists"}