A basic filter list designed for the blacklist mechanism in DNSCryp-Proxy v2.
- I like to provide a clean regular expression filter-list to avoid downloading heavy domain based filter lists.
- The list should not only limited to ads, however finding a good regexp for e.g. malware domains is difficult and the challenge. Some legit page like Malwarebytes might also getting blocked if you use *.malware as filter.
- Fix every reported issue and improve the list as much as possible.
Normal domain based filter lists are big in size, needs to maintained regularly and consuming a lot of memory and space. DNS based blocking with regular expression is better because you can block thousands of domains with only one single line.
- Open your
dnscrypt-proxy.toml
file there you find the black/whitelist categories. - Go under "Pattern-based blocking (blacklists)", comment out
blacklist_file = 'blacklist.txt'
- Do the same method for "Pattern-based IP blocking (IP blacklists)" and comment out
blacklist_file = 'ip-blacklist.txt'
- Do the same for "Pattern-based whitelisting (blacklists bypass)", and comment out
whitelist_file = 'whitelist.txt'
To see what's blocked ensure you comment out (remove #) from the log_file
.