Project

General

Profile

Actions

Feature #9251

closed

DNS Resolver (Unbound) Python Integration

Added by BBcan177 . over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
DNS Resolver
Target version:
Start date:
01/03/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:

Description

Add the python module integration to the DNS Resolver (Unbound)

The only remaining function, would be to mount the /bin and /lib folders to the /var/unbound folder.

mkdir -p /var/unbound/usr/local/bin
mkdir -p /var/unbound/usr/local/lib
mount_nullfs -o ro /usr/local/bin/ /var/unbound/usr/local/bin
mount_nullfs -o ro /usr/local/lib/ /var/unbound/usr/local/lib

I have coded the following for pfBlockerNG for testing purposes, but this will need to be adapted for pfSense and called at bootup before Unbound starts or it will fail to load without the mounts. It will also need notices/log info message code added.
https://gist.github.com/BBcan177/b5d9506f9d1ca1ff2457f62bbaaaf878


Files

netflix-no-aaaa.py (1.37 KB) netflix-no-aaaa.py Jim Pingle, 01/08/2020 11:16 AM
Actions

Also available in: Atom PDF