opnsense / plugins

OPNsense plugin collection
https://opnsense.org/
BSD 2-Clause "Simplified" License
849 stars 644 forks source link

os-bind: DNSBL not working #4356

Open L-Cie opened 1 week ago

L-Cie commented 1 week ago

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug Since OPNsense version 24.7.8 (or os-bind version 1.33 respectively), the DNS blocklists are not evaluated anymore. Even though the bind service is running and DNSBL is enabled, they are not blocked anymore.

I noticed this, after I updated my OPNsense instance from 24.7.7 to 24.7.8 yesterday. Unfortunately, I can not revert to os-bind 1.32, with opnsense-revert, as the package is not available from the repo.

To Reproduce Steps to reproduce the behavior:

When performing a DNS lookup on known domains which contain ads, the response contains the IP address of the target server instead of getting blocked:

$ dig doubleclick.net @<FIREWALL-IP> +noall +answer
doubleclick.net.        188     IN      A       142.250.203.110

$ dig googleads.g.doubleclick.net @<FIREWALL-IP> +noall +answer
googleads.g.doubleclick.net. 144 IN     A       142.250.185.162

Expected behavior Expected behavior would be (using AdGuard DNS as reference):

$ dig doubleclick.net @94.140.14.14 +noall +answer
doubleclick.net.        3600    IN      A       0.0.0.0

$ dig googleads.g.doubleclick.net @94.140.14.14 +noall +answer   
googleads.g.doubleclick.net. 3600 IN    A       0.0.0.0

Screenshots The configuration tells, that the service is up and running: 2024-11-15_12-50

Relevant log files The last blocks happened before the update on 11/14/2024: 2024-11-15_12-55

Now the domains are resolved and not blocked anymore: 2024-11-15_13-02

Environment OPNsense 24.7.8 (amd64) (virtualized on Proxmox PVE 8.2.7) 4vCPU (AMD Ryzen 7 3700x) 2 GB RAM 40 GB Disk space