2021-12-26 00:34:03 +00:00
# block
2020-02-22 09:51:02 +00:00
2022-02-16 23:42:13 +00:00
Hardened blocklist project designed for [dnscrypt-proxy ](https://github.com/DNSCrypt/dnscrypt-proxy ) [filter method ](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Filters ).
2020-02-22 10:13:45 +00:00
2022-02-16 23:42:13 +00:00
## Introduction
- `allowed-names.txt` is the file used to bypass a specific domain blocked by `blocked-names.txt` file.
- `blocked-names.txt` is the file used to block domains.
- `domains-blocklist.conf` is used before the generation process to define the sources to merge.
- `domains-blocklist-local-additions.txt` is used before the generation process to merge your inclusions.
- `domains-allowlist.txt` is used before the generation process to merge your exclusions.
- `generate-domains-blocklist.py` is the script used during the build process.
2020-02-22 10:13:45 +00:00
2021-01-22 09:23:19 +00:00
## Sources
2020-05-19 19:08:04 +00:00
2022-02-16 23:42:13 +00:00
### allowed-names.txt
2022-04-06 21:58:40 +00:00
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
2022-02-16 23:42:13 +00:00
### blocked-ips.txt
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
DNSCrypt: Rebind Protection | jedisct1 | DNS rebinding protection | [LINK ](https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Filters#dns-rebinding-protection ) | - | [ISC ](https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/LICENSE ) |
2021-12-26 16:05:14 +00:00
### blocked-names.txt
2021-01-22 09:23:19 +00:00
2022-02-16 23:42:13 +00:00
#### Inclusions
2020-05-19 19:08:04 +00:00
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
2021-10-24 20:06:41 +00:00
Developer Dan: AMP Hosts | Daniel (lightswitch05) | Block Google's Accelerated Mobile Pages (AMP). | [LINK ](https://github.com/lightswitch05/hosts ) | [RAW ](https://www.github.developerdan.com/hosts/lists/amp-hosts-extended.txt ) | [Apache-2.0 ](https://github.com/lightswitch05/hosts/blob/master/LICENSE ) |
2024-01-12 21:50:20 +00:00
domains-blocklist-local-additions.txt | d3cim | Domains, wildcards and substrings collection. | [LINK ](https://github.com/d3cim ) | [RAW ](https://raw.githubusercontent.com/d3cim/block/master/config/domains-blocklist-local-additions.txt ) | [GPLv3 ](https://github.com/d3cim/block/blob/master/LICENSE.md ) |
2022-01-31 22:27:02 +00:00
hBlock | Héctor Molinero Fernández (hectorm) | A merged list from a variety of other lists. | [LINK ](https://github.com/hectorm/hblock ) | [RAW ](https://hblock.molinero.dev/hosts_domains.txt ) | [MIT ](https://github.com/hectorm/hblock/blob/master/LICENSE.md ) |
2022-01-30 22:58:05 +00:00
NoTracking | notracking | A merged list from a variety of other lists. | [LINK ](https://github.com/notracking/hosts-blocklists ) | [RAW ](https://raw.githubusercontent.com/notracking/hosts-blocklists/master/dnscrypt-proxy/dnscrypt-proxy.blacklist.txt ) | All Rights Reserved |
2023-02-19 19:44:15 +00:00
OISD: big | Stephan (sjhgvr) | A merged list from a variety of other lists. | [LINK ](https://oisd.nl/ ) | [RAW ](https://big.oisd.nl/domainswild ) | All Rights Reserved |
2021-01-22 09:23:19 +00:00
2022-02-16 23:42:13 +00:00
#### Exclusions
2021-01-22 09:23:19 +00:00
| Source | Maintainer(s) | Description | Home Page | RAW Source | License |
|--------|:-------------:|-------------|:---------:|:----------:|:-------:|
2024-01-12 21:50:20 +00:00
domains-allowlist.txt | d3cim | Legit domains collection. | [LINK ](https://github.com/d3cim ) | [RAW ](https://raw.githubusercontent.com/d3cim/block/master/config/domains-allowlist.txt ) | [GPLv3 ](https://github.com/d3cim/block/blob/master/LICENSE.md ) |
2020-05-19 19:08:04 +00:00
2021-01-22 09:23:19 +00:00
## Build
2020-10-27 09:54:30 +00:00
2021-02-25 09:24:06 +00:00
To generate your own list you can clone this repo, move into the `config` folder, edit files according to your needs and run this command:
2022-11-16 00:25:32 +00:00
#### Linux
2020-10-27 09:54:30 +00:00
```
2021-02-23 09:33:55 +00:00
python3 generate-domains-blocklist.py > list.txt.tmp & & mv -f list.txt.tmp list
2022-02-05 18:36:55 +00:00
```
2022-11-16 00:25:32 +00:00
#### Windows
```
py generate-domains-blocklist.py > list.txt
```
2022-02-16 23:42:13 +00:00