1
23.1 Legacy Series / Unbound DNSBL, bypass for specific IPs
« on: February 01, 2023, 04:06:56 pm »
In the past I was able to create custom views within the command line and aded to /usr/local/etc/unbound.opnsense.d, however, that's when it was utilizing the dnsbl.conf directly.
Has anyone else attempted this? All I see usable would be dnsbl.json, but when added to a custom .conf file unbound won't start.
This is the preliminary test:
server:
access-control-view: 192.168.1.2/32 bypass
access-control-view: 192.168.1.0/24 dnsbl
view:
name: "bypass"
view-first: yes
view:
name: "dnsbl"
view-first: yes
include: /data/dnsbl.json
Any input would be appreciated!
Thank you!
Has anyone else attempted this? All I see usable would be dnsbl.json, but when added to a custom .conf file unbound won't start.
This is the preliminary test:
server:
access-control-view: 192.168.1.2/32 bypass
access-control-view: 192.168.1.0/24 dnsbl
view:
name: "bypass"
view-first: yes
view:
name: "dnsbl"
view-first: yes
include: /data/dnsbl.json
Any input would be appreciated!
Thank you!