OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: hushcoden on July 31, 2021, 12:36:24 am

Title: DNSBL cron job
Post by: hushcoden on July 31, 2021, 12:36:24 am
Trying to add a cron job to update the Unbound blocklists in System-->Settings-->Cron but it's not in the drop-down menu, how possible?

Tia.
Title: Re: DNSBL cron job
Post by: franco on July 31, 2021, 02:20:15 pm
"Update Unbound DNSBLs", at least on my install the last item in the list.


Cheers,
Franco
Title: Re: DNSBL cron job
Post by: hushcoden on July 31, 2021, 03:07:09 pm
Found it, thanks  ::)
Title: Re: DNSBL cron job
Post by: hushcoden on August 01, 2021, 06:03:16 pm
How do I troubleshoot Unbound that every now and then it restarts (see screenshot) ?

Also, as for the cron job attached, can someone confirm it means Unbound DNSBLs are updating every day at 06:00 ?

Tia.
Title: Re: DNSBL cron job
Post by: dinguz on August 01, 2021, 06:19:30 pm
I found unbound sometimes does restart on link up/down events, and perhaps also on DHCP renewal. Do these times coincide with other messages in the logs?
Title: Re: DNSBL cron job
Post by: franco on August 01, 2021, 07:20:24 pm
DNSBL on 21.7 uses a full stop / start. I'm not sure Unbound will log this as "Restarting".


Cheers,
Franco