I'm using unbound/nsd for my home network to accomplish a similar function (although without all the fancy metrics tracking and such)

I borrowed this from someone else so I can't take credit/blame for it.

cron script that runs periodically:

#!/bin/sh
ftp -o /var/unbound/etc/unbound_ad_servers "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=unbound&showintro=0&mimetype=plaintext";
unbound-control reload

and then unbound pull that file in as a local zone:
# Ad servers block
include: /var/unbound/etc/unbound_ad_servers

Scott

On 6/12/20 1:24 PM, George wrote:
Hi guys,

I am trying to setup a Pi-Hole service, i.e. add blocking based on empty DNS records zones files, for my local LAN and would like to ask what people are using on OpenBSD in this role?

Thanks in advance,

George


Reply via email to