OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: Dorsal4831 on April 12, 2023, 12:29:54 AM

Title: Reporting > Unbound DNS
Post by: Dorsal4831 on April 12, 2023, 12:29:54 AM
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,
Title: Re: Reporting > Unbound DNS
Post by: tekgeek on April 12, 2023, 03:56:46 AM
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"
Title: Re: Reporting > Unbound DNS
Post by: tekgeek on April 12, 2023, 04:02:38 AM
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)
Title: Re: Reporting > Unbound DNS
Post by: Dorsal4831 on April 12, 2023, 07:10:38 AM
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!
Title: Re: Reporting > Unbound DNS
Post by: guest34985 on August 01, 2023, 10:12:39 PM
This is still true with 23.7 OPNsense. Or is there an update on this issue meanwhile?
Title: Re: Reporting > Unbound DNS
Post by: guest34985 on August 01, 2023, 10:44:21 PM
Ok, I just deleted the number in the following file:

/var/unbound/data/dnsbl.size

That's it.