News for hackers. Stuff that matters.
Re:Pi-hole – A black hole for Internet advertisements by nigifabio on Monday March 13, 2017 @02:14PM (#13860669)
Sound like an amazing setup, what about sharing all these scripts? How and why you build your browser?
Re:Pi-hole – A black hole for Internet advertisements by laumars on Monday March 13, 2017 @02:50PM (#13861046)
It'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.

Re:Pi-hole – A black hole for Internet advertisements by time4tea on Monday March 13, 2017 @04:33PM (#13862069)
You 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

Re:Pi-hole – A black hole for Internet advertisements by laumars on Monday March 13, 2017 @05:16PM (#13862471)
Thanks 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.
Re:Pi-hole – A black hole for Internet advertisements by petre on Tuesday March 14, 2017 @05:34AM (#13866152)
There 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

Re:Pi-hole – A black hole for Internet advertisements by dredmorbius on Monday March 13, 2017 @06:40PM (#13863203)
For a router-based block, see DD-WRT and dnsmaq:

https://ello.co/dredmorbius/post/b2ungqjvmlflvinrtp4cug