Unbound DNS Blacklist

Started by l0stnyc, October 23, 2020, 10:52:12 PM

Previous topic - Next topic
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?

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