Skip to content

lepiaf/adblock-unbound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adblock-unbound

Script build host to block directly from unbound. It is based on work of https://github.com/StevenBlack/hosts

Also inpired by this blog post : https://deadc0de.re/articles/unbound-blocking-ads.html

How to use as standalone

Checkout the repository

git clone https://github.com/lepiaf/adblock-unbound.git
chmod +x entrypoint.sh
RECIPE=master WITH_IPV6=false ./entrypoint.sh > /etc/unbound/unbound.conf.d/ads.conf

then restart unbound

How to use with docker

git clone https://github.com/lepiaf/adblock-unbound.git
docker build -t lepiaf/adblock-unbound .
docker run --rm -e RECIPE=fakenews -e WITH_IPV6=false lepiaf/adblock-unbound  > /etc/unbound/conf.d/ads.conf

then restart unbound

About

Build script to block ads for unbound

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published