Services: Unbound DNS - fix "configctl unbound check" as it doesn't use a chroot.

ref: https://forum.opnsense.org/index.php?topic=49989.0
This commit is contained in:
Ad Schellevis 2025-12-05 07:31:49 +01:00
parent 8cf3898282
commit 3b01394d56

View File

@ -37,6 +37,7 @@ import time
import dns
import dns.name
import unboundmodule
sys.path.insert(0, "/var/unbound/unbound-dnsbl/") # unbound-check doesn't use a chroot
sys.path.insert(0, "/unbound-dnsbl/")
from lib import Query, ModuleContext
from lib.dnsbl import DNSBL