Skip to content

Commit 3b01394

Browse files
committed
Services: Unbound DNS - fix "configctl unbound check" as it doesn't use a chroot.
ref: https://forum.opnsense.org/index.php?topic=49989.0
1 parent 8cf3898 commit 3b01394

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/opnsense/scripts/unbound-dnsbl/dnsbl_module.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import dns
3838
import dns.name
3939
import unboundmodule
40+
sys.path.insert(0, "/var/unbound/unbound-dnsbl/") # unbound-check doesn't use a chroot
4041
sys.path.insert(0, "/unbound-dnsbl/")
4142
from lib import Query, ModuleContext
4243
from lib.dnsbl import DNSBL

0 commit comments

Comments
 (0)