Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Unbound DNSBL whitelists anything if there is a Entry under "Source Net(s)" in the Blacklist Config.
To Reproduce
Steps to reproduce the behavior:
- Install OPNsense 25.7.11
- Install Unbound Service
- Enable DNSBL Feature in Unbound
- Add Blocklists and maybe custom Black- or Whitelisted Custom Domains
- Add a Network Entry (e.g. 185.235.84.0/22) under "Source Net(s) in the DNSBL Config
- Click Apply and restart Service
- Check your DNS, anything that should be blacklisted are resolved correctly to IP Addresses
Expected behavior
Blacklisted Domains should be resolve to 0.0.0.0 if there is an Entry under "Source Net(s)" in the Config.
Describe alternatives you considered
Deleting Network Entry solved the Problem. Maybe a Regex Problem in unbound?
Screenshots
Failed DNSBL if there is a Source Net(s) entry:

Check via DNS Resolver, DNSBL is whitelisting anything:

Delete Source Net(s) Entry in DNSBL Config:
Check via DNS Resolver, DNSBL is working:
Relevant log files
See Screenshots
Additional context
Problem popped up with Version OPNsense 25.7.11. With OPNsense 25.7.10 or older anything was working.
Environment
OPNsense 25.7.11_2-amd64
FreeBSD 14.3-RELEASE-p7
OpenSSL 3.0.18
OPNsense Hardware Appliance DEC2750
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Unbound DNSBL whitelists anything if there is a Entry under "Source Net(s)" in the Blacklist Config.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Blacklisted Domains should be resolve to 0.0.0.0 if there is an Entry under "Source Net(s)" in the Config.
Describe alternatives you considered
Deleting Network Entry solved the Problem. Maybe a Regex Problem in unbound?
Screenshots

Failed DNSBL if there is a Source Net(s) entry:
Check via DNS Resolver, DNSBL is whitelisting anything:

Delete Source Net(s) Entry in DNSBL Config:
Check via DNS Resolver, DNSBL is working:
Relevant log files
See Screenshots
Additional context
Problem popped up with Version OPNsense 25.7.11. With OPNsense 25.7.10 or older anything was working.
Environment
OPNsense 25.7.11_2-amd64
FreeBSD 14.3-RELEASE-p7
OpenSSL 3.0.18
OPNsense Hardware Appliance DEC2750