Nov 042026
 

startup command

curl -ks https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep "^0.0.0.0" > /tmp/mvps
stopservice dnsmasq
startservice dnsmasq

dnsmasq additional options -> addn-hosts=/tmp/mvps

cheap and dirty ad blocker for my dhcp clients

edit :

you can load more hosts and include raw lists as well

{
  curl -ks https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep "^0.0.0.0"
  curl -ks https://adguardteam.github.io/HostlistsRegistry/assets/filter_2.txt | grep -v '^[!#]' | awk 'NF {print "0.0.0.0", $NF}'
} | sort -u > /tmp/mvps

stopservice dnsmasq
startservice dnsmasq

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

Ce site utilise Akismet pour réduire les indésirables. Découvrez comment les données de vos commentaires sont traitées.