DNSBL on specific interfaces only?

Started by guest25283, January 10, 2021, 07:54:51 PM

Previous topic - Next topic
Hi all,

I have searched the forum but could not find an answer.
Is it possible to select interfaces to which Unbound DNSBL applies?


Running OPNsense through Proxmox
4 x Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (1 Socket)
24 GB RAM

January 27, 2021, 09:06:14 PM #3 Last Edit: January 27, 2021, 09:15:01 PM by Vilhonator
Yes it is possible.

WebGui might be bit confusing, but by selecting interfaces of which Unbound listens to (by default unbound listens to all interfaces), you are choosing interfaces which use DNSBL.

Interfaces which Unbound isn't listening, you need to setup DNS servers other than your Opnsense on DHCP server settings or manually set DNS servers on client devices.

It is recommended to leave things to default values because disabling listening on wrong interface, network on interface which doesn't use unbound might be exploited or might cause some issues.

Way I understand it, DNSBL is set active on all interfaces which unbound is listening and automatically creates ACLs for you. If you mean to use unbound on all interfaces but enable DNSBL only on certain interface, then you might have to manually change DNS config file via console.

@Vilhonator

It would be awesome to use Unbound for all interfaces, but specific interfaces with DNSBL.

pfBlockerNG v3.0.0_6 (pfSense) has this feature now, although just for specific IP adresses which then can bypass DNSBL - https://www.reddit.com/r/pfBlockerNG/comments/kcpg8g/pfblockerng_v300_6_update/

QuoteUpdated:
DNSBL - NAT / Floating rule modifications when Localhost interface is selected
Add preliminary DNSBL Group Policy configuration that will globally bypass DNSBL for the defined LAN IPs
Running OPNsense through Proxmox
4 x Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (1 Socket)
24 GB RAM