News for hackers. Stuff that matters.
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.