Sadly I didn’t do this on
#OpenBSD, as my current hardware just doesn’t fit it, or is currently being used for something else that’s taking most of it’s compute power.
But! My
#NetBSD-running rpi2, which was previously only hosting a syslogd(8) server for centralised logging + lighttpd & a cgi script for web-based log viewing, is now also my local dns host. I used base’s unbound(8) (which is chroot’d by default which is neat), a custom shell script called by a cron job that pulls down adblock lists and transforms them into a unbound config I can include: in unbound.conf(5) with awk(1).
What pushed me to do this was my previous dns host solution, NextDNS, was having horrid latency issues, so why not kill latency entirely by having it local! I guess I should have expected this for a SaaS service. My new local dns seems to work well. Thanks
#NetBSD