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