Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No /var/unbound/dnsbl.conf created #6

Open
koenvervloesem opened this issue Mar 22, 2019 · 4 comments
Open

No /var/unbound/dnsbl.conf created #6

koenvervloesem opened this issue Mar 22, 2019 · 4 comments

Comments

@koenvervloesem
Copy link

koenvervloesem commented Mar 22, 2019

Thanks for creating this plugin, it looks great!

However, I can't get it to work. I installed it like this:

opnsense-code tools plugins
cd /usr/plugins/dns
git clone https://github.com/alectrocute/UnboundBL.git
cd UnboundBL
make package
pkg add work/pkg/*.txz

I can then find the configuration page in Services / Unbound DNS / DNSBL. However, when I add a blocklist url like the https://github.com/raw/StevenBlack/hosts/master/data/StevenBlack/hosts in your example, enable the plugin and then click Save, nothing happens. There's no output in the console section like in your screenshot, the Total domains on blocklist stays empty, and there's no /var/unbound/dnsbl.conf created. The same happens with other blocklist URLs.

Is there a log file or another way to look at what's happening under the hood? There's nothing shown in /var/log/system.log.

@koenvervloesem
Copy link
Author

koenvervloesem commented Mar 22, 2019

Ok, I found the culprit. After reading your pull request opnsense/plugins#1249, I found some errors in /var/log/configd.log and I managed to get it working by:

chmod +x /usr/local/opnsense/scripts/OPNsense/Unboundbl/*.sh

It seems those two scripts weren't executable...

@tlsnine
Copy link

tlsnine commented Apr 22, 2019

chmod +x /usr/local/opnsense/scripts/OPNsense/Unboundbl/*.sh

I was having the same issue.
Thanks for the post!!

@fireheadman
Copy link

Same here....
Definitely needs some smoothing over on the install notes as well.
image

After the chmod, there is actual output to see...
image

@fireheadman
Copy link

fireheadman commented Jul 10, 2020

Bad part is.... the /var/unbound/dnsbl.conf file keeps getting wiped out when I add a whitelist host.

Add entry, save, restart... its gone every time.
Although as others are getting too... it does show sites being blocked.

What file is created for the whitelist?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants