Code Select
"""
import time
import dns
import dns.name
import unboundmodule
sys.path.insert(0, "/var/unbound/unbound-dnsbl/")
sys.path.insert(0, "/unbound-dnsbl/")
from lib import Query, ModuleContext
from lib.dnsbl import DNSBL
from lib.log import Logger
from lib.utils import obj_path_exists
ACTION_PASS = 0
ACTION_BLOCK = 1
ACTION_DROP = 2
dnsbl_module.py: 248 lines, 10327 characters.
root@OPNsense:/var/unbound/unbound-dnsbl # configctl unbound check
no errors in /var/unbound/unbound.conf
root@OPNsense:/var/unbound/unbound-dnsbl #
"