3 ms·
I've made this exact argument before, but it was unpopular. I maintain that if your software distrubution model is writing ISO files to SD cards, it's about as
by encom 6y ago
I've made this exact argument before, but it was unpopular. I maintain that if your software distrubution model is writing ISO files to SD cards, it's about as retarded as piping `curl` into `bash`.
I too run a Gentoo server at home (fist bump), and I'm running `dnsmasq` for filtering and caching, and `stubby` for DNS-over-TLS, and I run this beauty of a cron job every morning:
curl -s --compressed -o /var/lib/dnsmasq/hostnames.txt https://raw.githubusercontent.com/notracking/hosts-blocklists/master/{hostnames.txt,domains.txt} | sed -e '/::/d' -e 's/0.0.0.0//g' -e '/thepiratebay/d' > /var/lib/dnsmasq/domains.txt && rc-service dnsmasq restart
- StreamBright 6y agoThe result of this looks a bit mixed up. Are you sure that sedding 0.0.0.0 works? There are some spammers who include 0.0.0.0 in the domain name for example. I used positional splitting with awk to do the same. That worked very well.
- encom 6y agoThe `sed` turns this address=/example.com/0.0.0.0 into address=/example.com/ ...which makes dnsmasq return NXDOMAIN instead of 0.0.0.0. I think that's more correct.
- StreamBright 6y agoWhat about 0.0.0.0.nastydonain.com?
- encom 6y agoYes, I should fix `sed` to only match end-of-line.
- kelnos 6y agoThat's a pretty entitled attitude to have toward people who are writing software in their own time and giving it to you for free to use.