DNSBL failing - An error occurred during script execution. Check the logs for de

Started by Coastal9772, August 23, 2022, 06:04:43 AM

Previous topic - Next topic
Any BL that I try to apply, I get the following:
Error updating blocklistsAn error occurred during script execution. Check the logs for details
When I go to the logs:See attachment
It SEEMS as though ads are being blocked but can't 100% tell.
I've also tried adding https://unbound.oisd.nl/nsfw/ to the " URLs of Blocklists" field to block that content which does not work. Of note, get the same error when trying to save  and apply.




I assume since that was an unbound list it was suitable but will try your suggestion later. I too don't see errors but it is coming up with that message I posted. The other odd things is I can't check for updates and or plugins page. I even ran a factory reset.

QuoteI too don't see errors but it is coming up with that message I posted
maybe the update job just took too long (corresponding entry may appear in the backend log)
QuoteI assume since that was an unbound list it was suitable
parser waits for just domain names, not part of unbound config file )

Just an update, I have not yet tried the plugin suggestion. That will be next.
I'm on a clean install, I can view the plugins folder.
I am now trying to add the dnsbl and get the attached error. This is what I see in the log:
2022-08-23T23:27:45-04:00Noticeunbound blocklist download : exclude domains matching .*localhost$|^(?![a-zA-Z_\d]).*
Edit: It seems to be certain lists, I was able to apply the SimpleAdList.  Stephen Black list is a no go
I retried the Stephen block list and it errors, but the logs show:
2022-08-23T23:38:40-04:00Noticeunbound blocklist download https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (lines: 142982 exclude: 15 block: 135870)

no error in unbound logs - just notices (you can set the severity level so that you don't see any messages about the plugin's normal operation):
QuoteNotice   unbound   blocklist download : exclude domains matching .*localhost$|^(?![a-zA-Z_\d]).*
notification about the start of downloading blocking lists. internal filters filter out entries with incorrect syntax (otherwise the unbound may refuse to start)
Quote04:00   Notice   unbound   blocklist download https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (lines: 142982 exclude: 15 block: 135870)
block list downloaded and parsed. 15 records excluded from block list: either due to invalid syntax or due to being whitelisted

the script execution error is probably due to a long execution (script was executed, but due to the long execution, a response was not received from it in the expected time). an error about run time exceeded can be in the backend log (System: Log Files: Backend).
may be due to a large number of block-lists, slow list retrieval or enabling DNS64 support at Services: Unbound DNS: General (haven't had time to look yet why the unbound-control operation takes so long to load the list when this option is enabled)



I don't have DNSSEC or DNS64 enabled. I am leaning towards the long execute time as well as it seems as though it's adding the lists. What's odd, when I try to remove the lists, it errors out and the sites are still blocked. It leaves me a little apprehensive of the effectiveness of this.
Appreciate the insight so far.