Unbound Crashes when Blacklist is Enabled

Started by Pfirepfox, March 31, 2020, 08:55:49 AM

Previous topic - Next topic
Hi All,

I recently installed the blacklist option within Unbound using "pkg install os-unbound-plus-devel". However, every time i attempt to enabled it and select a few DNS Blacklist sources it crashes unbound.

unbound: fatal error: Could not set up local zones
unbound: error: local-data in redirect zone must reside at top of zone, not at srv-2018-01-25-08.pixel.parsely.com A 0.0.0.0

Is this an issue with the blacklist file or my configuration of Unbound?

Do you have anything in Advanced field?
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

I do have some custom options set in the "General" tab.

I use the mostly to include additional blacklist lists, EG: include: "/var/unbound/conf.d/social_media.conf"

Can you try to remove all (for testing?)
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Removing the lines from the advanced section worked.

However, i still had unbound crashing but this was due to the Blacklists selected. "EMD Malicious Doamins" list and all "HPHosts" lists crash unbound due to

error: local-data in redirect zone must reside at top of zone, not at somedomain.com A 0.0.0.0