Skip to content

vanyaindigo/dnscrypt-proxy-blacklist-filter

 
 

Repository files navigation

A basic filter list designed for the blacklist mechanism in DNSCryp-Proxy v2.

Twitter URL Say Thanks! Discord

Project Goal

  1. I like to provide a clean regular expression filter-list to avoid downloading heavy domain based filter lists.
  2. 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.
  3. 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.

Usage

  1. Open your dnscrypt-proxy.toml file there you find the black/whitelist categories.
  2. Go under "Pattern-based blocking (blacklists)", comment out blacklist_file = 'blacklist.txt'
  3. Do the same method for "Pattern-based IP blocking (IP blacklists)" and comment out blacklist_file = 'ip-blacklist.txt'
  4. Do the same for "Pattern-based whitelisting (blacklists bypass)", and comment out whitelist_file = 'whitelist.txt'

Debug

To see what's blocked ensure you comment out (remove #) from the log_file.

Acknowledgements and References

About

A regexp filter list for dnscrypt-proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published