I have been fascinated with a project called Pi-Hole. It currently runs on a Orange Pi Nano that I purchased for $35 from Ebay. I was upset that it isn’t portable and only runs on Linux so I wrote a script in Perl that does the same thing (no website tho).
All you need is on my github.
Simply install the update_dnsmasq file, create the configuration files and directories, change the folder permission and create weekly cron job.
This script will keep up to date with Pi-Holes block list (126000+ domains). I will not port the website. This is enough for me to get in running on my FreeBSD box.