4 ms·
Sound like an amazing setup, what about sharing all these scripts? How and why you build your browser?
by nigifabio 10y ago
Sound like an amazing setup, what about sharing all these scripts? How and why you build your browser?
- laumars 10y agoIt's just a shell script to manage dnsmasq running on my FreeBSD home server. It's not sophicated but equally it's written specifically for my server so no very portable either. I did think about writing something to share but projects like Pi-hole have done a better job serving the community than i could have. So i just share the sources i use instead incase any like-minded sysadmins find it useful.
- time4tea 10y agoYou could also use py-hole which is a simple apt install of a bit of python that does the dnsmasq file creation and update. Its pre alpha but may work for you https://github.com/time4tea-net/py-hole https://github.com/time4tea-net/py-hole
- laumars 10y agoThanks for the recommendation but the shell script i have works good enough and has been for a few years now. Plus the container (FreeBSD jail to be precise) is pretty low footprint so while i don't have an issue with Python itself, it's an additional package I don't really need.
- dredmorbius 10y agoFor a router-based block, see DD-WRT and dnsmaq: https://ello.co/dredmorbius/post/b2ungqjvmlflvinrtp4cug https://ello.co/dredmorbius/post/b2ungqjvmlflvinrtp4cug
- petre 10y agoThere is also this perl script for generating a DNS based blocklist for unbound out of Dan Pollock's hosts file. https://github.com/jodrell/unbound-block-hosts https://github.com/jodrell/unbound-block-hosts