OPNsense Forum

English Forums => 25.7 Series => Topic started by: viktorshutov on August 29, 2025, 01:35:22 PM

Title: How to add my own blocklist to Unbound?
Post by: viktorshutov on August 29, 2025, 01:35:22 PM
Hello everyone,

I'm new here and have a question about configuring Unbound in OPNsense.

I see that Unbound has a feature to easily select from predefined DNS blocklists in the "Type of DNSBL" field (/ui/unbound/dnsbl/index), and I would like to add my own custom blocklist.

From my research, I found that the blocklist URLs are stored in the following file:
/usr/local/opnsense/service/templates/OPNsense/Unbound/core/blocklists.conf

However, this file only contains the URLs, not the friendly names that appear in the webGUI. Simply adding a new line to this file doesn't make the list appear as a selectable option.

Could someone please point me in the right direction? Where do I need to add the friendly "name" for a custom blocklist to make it appear in the GUI dropdown?

Thank you in advance for your help!
Title: Re: How to add my own blocklist to Unbound?
Post by: gpfountz on August 29, 2025, 03:29:02 PM
I believe what you are looking for is under advance mode - URL of Blocklists
Title: Re: How to add my own blocklist to Unbound?
Post by: viktorshutov on September 03, 2025, 09:54:54 AM
Quote from: gpfountz on August 29, 2025, 03:29:02 PMI believe what you are looking for is under advance mode - URL of Blocklists
Thank you very much! Indeed it was here, under Advanced mode switch in left top corner of Blocklists interface.