Reporting > Unbound DNS

Started by Dorsal4831, April 12, 2023, 12:29:54 AM

Previous topic - Next topic
April 12, 2023, 12:29:54 AM Last Edit: April 12, 2023, 12:31:29 AM by Dorsal4831
I was using blocklists via unbound in OPNsense but I've decided to no longer use any blocklists. The Unbound DNS reporting still shows a blocklist loaded, however I have disabled the feature altogether.

Is there a way to clear the blocklist counter in the reporting area for Unbound DNS? I can see nothing is being blocked, the dashboard is just showing an incorrect blocklist size, it should be zero.

I have searched these forums and Reddit and wasn't able to find anything on the topic.

I am on 23.1.5_4

Thanks,

Are you sure your seeing an active blocklist or just the stats listed in Reporting: Unbound?

If it's just the old statistics that haven't cleared, try going to

Reporting: Setting
At the top, there is a "Reset DNS data"

You can also clear your DNS lookup records in:

Services: Unbound: General
Find "DNS Cache", check it, restart Unbound, and uncheck it (or Unbound will be slow after every reboot)

I did try your suggestions but they did not clear the size of blocklist statistic in the reporting. The blocklist function itself is off. Just wanted to clear the number from appearing in the report section since it's misleading.

Maybe it's just a bug or maybe there's an alternate way of resetting the counter that I'm not thinking of.

Thanks for your help!

This is still true with 23.7 OPNsense. Or is there an update on this issue meanwhile?

Ok, I just deleted the number in the following file:

/var/unbound/data/dnsbl.size

That's it.