OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: l0stnyc on October 23, 2020, 10:52:12 pm

Title: Unbound DNS Blacklist
Post by: l0stnyc on October 23, 2020, 10:52:12 pm
I am not sure if I am the only one encountering this issue, but off a fresh reboot the blacklist within unbound does not seem to automatically download the blocklist.  I have to go in manually and trigger a manual download each time.  Am I missing a step somewhere?
Title: Re: Unbound DNS Blacklist
Post by: Meditux on October 24, 2020, 11:22:04 am
Hi, just copy the relevant script as follows:

cp /usr/local/opnsense/scripts/unbound/download_blacklists.py /usr/local/etc/rc.syshook.d/start/98-updatednsbl

I have added a time.sleep(60) to the copy for safety reasons.

For the periodic update you can use cron ;-)

System: Settings: Cron: Download Unbound DNSBLs and restart

Regards Meditux